Permalink
Browse files

Sort DEBUG_ECHO properly.

Saves 200 bytes.
  • Loading branch information...
1 parent 4c84b31 commit b8ab255b6b651b270cdaa4c2fa483fc3306094aa @Traumflug committed Mar 6, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 debug.h
View
@@ -7,14 +7,15 @@
#define DEBUG_PID 1
#define DEBUG_DDA 2
#define DEBUG_POSITION 4
+ #define DEBUG_ECHO 128
#else
// by setting these to zero, the compiler should optimise the relevant code out
#define DEBUG_PID 0
#define DEBUG_DDA 0
#define DEBUG_POSITION 0
+ #define DEBUG_ECHO 0
#endif
-#define DEBUG_ECHO 128
extern volatile uint8_t debug_flags;

0 comments on commit b8ab255

Please sign in to comment.