diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-12-18 06:31:24 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-12-24 12:57:55 +0300 |
commit | 0a065f48be99d4ebae49de622a335f23e50c6ca0 (patch) | |
tree | b591d91fac26e5bf7a4dd6d37178b978061ef060 /platformio/relayctl/src/logging.h | |
parent | 022ec129bb8f511a7bf8cf537f165afce2303262 (diff) |
pump-mqtt-bot: wip; relayctl: somewhat stable
Diffstat (limited to 'platformio/relayctl/src/logging.h')
-rw-r--r-- | platformio/relayctl/src/logging.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/platformio/relayctl/src/logging.h b/platformio/relayctl/src/logging.h index c31e98f..070f367 100644 --- a/platformio/relayctl/src/logging.h +++ b/platformio/relayctl/src/logging.h @@ -5,20 +5,14 @@ #ifdef DEBUG -namespace homekit { -void hexdump(const void* data, size_t size); -} - #define PRINTLN(s) Serial.println(s) #define PRINT(s) Serial.print(s) #define PRINTF(fmt, ...) Serial.printf(fmt, ##__VA_ARGS__) -#define HEXDUMP(data, size) homekit::hexdump((data), (size)); #else #define PRINTLN(s) #define PRINT(s) -#define PRINTF(a) -#define HEXDUMP(data, size) +#define PRINTF(...) #endif |