1234567891011121314151617181920212223242526272829 |
- /*
- * Main / Debug Stuff
- */
-
- #ifndef _MAIN_H
- #define _MAIN_H
-
- #ifdef DEBUG
-
- #include "serial.h"
-
- //#define DEBUG_UART_MENU
-
- #define debugWrite(x) serialWriteString(0, x);
- #define debugHex(x) serialWriteHex(0, x);
-
- #ifdef DEBUG_UART_MENU
- void uartMenu(void);
- #endif
-
- #else // DEBUG
-
- #define debugWrite(x)
- #define debugHex(x)
-
- #endif // DEBUG
-
- #endif
|