Commit 8e8fcdc1 authored by Theodor-Adrian Stana's avatar Theodor-Adrian Stana

Fixed non-working GPS module in release mode

The bloody compiler optimization was screwing over NMEA parsing, which made the
GPS not work anymore.

Thank you GCC for taking away 2 hrs of my life, just like that: POOF!
parent 17844262
......@@ -261,7 +261,7 @@ all: debug
debug: CFLAGS += -DDEBUG -O0 -g -DDEBUG_EFM
debug: $(EXE_DIR)/$(PROJECTNAME).bin
release: CFLAGS += -DNDEBUG -O3
release: CFLAGS += -DNDEBUG -O1
release: $(EXE_DIR)/$(PROJECTNAME).bin
# Create objects from C SRC files
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment