Naze32 clone with Frysky receiver
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

main.h 294B

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