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.

17 lines
517 B

  1. #pragma once
  2. // -----------------------------------------------------------------------------
  3. // Debug
  4. // -----------------------------------------------------------------------------
  5. #define DEBUG_SUPPORT DEBUG_SERIAL_SUPPORT || DEBUG_UDP_SUPPORT || DEBUG_TELNET_SUPPORT || DEBUG_WEB_SUPPORT
  6. #if DEBUG_SUPPORT
  7. #define DEBUG_MSG(...) debugSend(__VA_ARGS__)
  8. #define DEBUG_MSG_P(...) debugSend_P(__VA_ARGS__)
  9. #endif
  10. #ifndef DEBUG_MSG
  11. #define DEBUG_MSG(...)
  12. #define DEBUG_MSG_P(...)
  13. #endif