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.

7 lines
264 B

8 years ago
8 years ago
8 years ago
  1. #ifdef DEBUG_PORT
  2. #define DEBUG_MSG(...) DEBUG_PORT.printf( __VA_ARGS__ )
  3. #define DEBUG_MSG_P(...) { char buffer[81]; snprintf_P(buffer, 80, __VA_ARGS__ ); DEBUG_PORT.printf( buffer ); }
  4. #else
  5. #define DEBUG_MSG(...)
  6. #define DEBUG_MSG_P(...)
  7. #endif