Sort DEBUG_ECHO properly.

Saves 200 bytes.
This commit is contained in:
Markus Hitter 2012-03-06 12:45:08 +01:00
parent 4c84b31536
commit b8ab255b6b
1 changed files with 2 additions and 1 deletions

View File

@ -7,14 +7,15 @@
#define DEBUG_PID 1 #define DEBUG_PID 1
#define DEBUG_DDA 2 #define DEBUG_DDA 2
#define DEBUG_POSITION 4 #define DEBUG_POSITION 4
#define DEBUG_ECHO 128
#else #else
// by setting these to zero, the compiler should optimise the relevant code out // by setting these to zero, the compiler should optimise the relevant code out
#define DEBUG_PID 0 #define DEBUG_PID 0
#define DEBUG_DDA 0 #define DEBUG_DDA 0
#define DEBUG_POSITION 0 #define DEBUG_POSITION 0
#define DEBUG_ECHO 0
#endif #endif
#define DEBUG_ECHO 128
extern volatile uint8_t debug_flags; extern volatile uint8_t debug_flags;