00001 #ifndef _DEBUG_H
00002 #define _DEBUG_H
00003
00004 #include <stdint.h>
00005
00006 #ifdef DEBUG
00007 # define DEBUG_PID 1
00008 # define DEBUG_DDA 2
00009 # define DEBUG_POSITION 4
00010 # define DEBUG_ECHO 128
00011 #else
00012
00013 # define DEBUG_PID 0
00014 # define DEBUG_DDA 0
00015 # define DEBUG_POSITION 0
00016 # define DEBUG_ECHO 0
00017 #endif
00018
00019 extern volatile uint8_t debug_flags;
00020
00021 #endif