Naze32 clone with Frysky receiver
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

main.h 351B

1234567891011121314151617181920212223242526272829
  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. #ifdef DEBUG_UART_MENU
  12. void uartMenu(void);
  13. #endif
  14. #else // DEBUG
  15. #define debugWrite(x)
  16. #define debugHex(x)
  17. #endif // DEBUG
  18. #endif