Naze32 clone with Frysky receiver
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456789101112131415161718192021222324252627
  1. /*
  2. * Main / Debug Stuff
  3. */
  4. #ifndef _MAIN_H
  5. #define _MAIN_H
  6. #ifdef DEBUG
  7. #include "serial.h"
  8. #define DEBUG_UART_MENU
  9. #define debugWrite(x) serialWriteString(0, x);
  10. #define debugHex(x) serialWriteHex(0, x);
  11. void uartMenu(void);
  12. #else // DEBUG
  13. #define debugWrite(x)
  14. #define debugHex(x)
  15. #endif // DEBUG
  16. #endif