Fork of the espurna firmware for `mhsw` switches
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.

15 lines
332 B

8 years ago
8 years ago
  1. #define DEBUG_MESSAGE_MAX_LENGTH 80
  2. #if defined(SONOFF_DUAL)
  3. #undef DEBUG_PORT
  4. #endif
  5. #if defined(DEBUG_PORT) | defined(DEBUG_UDP_IP)
  6. #define DEBUG_MSG(...) debugSend(__VA_ARGS__)
  7. #define DEBUG_MSG_P(...) debugSend_P(__VA_ARGS__)
  8. #endif
  9. #ifndef DEBUG_MSG
  10. #define DEBUG_MSG(...)
  11. #define DEBUG_MSG_P(...)
  12. #endif