Skip to content

Commit 914bc0d

Browse files
committed
Change MSG_TYPE enum to support DEBUG compiler flag
1 parent c6950e1 commit 914bc0d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,7 @@ CFLAGS += -DAPP_TIMER_V2 -DAPP_TIMER_V2_RTC1_ENABLED
330330
CFLAGS += -DLFS_NO_MALLOC
331331
# Switch if hardware has display
332332
CFLAGS += -DHAS_DISPLAY=1
333+
#CFLAGS += -DDEBUG
333334

334335
# C++ flags common to all targets
335336
CXXFLAGS += $(OPT)

datatypes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#define PACKET_END 0x0a
2828

2929
typedef enum {
30-
DEBUG = 0,
30+
LOGDEBUG = 0,
3131
HEADER,
3232
ESC,
3333
ESC_DELTA,

0 commit comments

Comments
 (0)