From 0a065f48be99d4ebae49de622a335f23e50c6ca0 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Sun, 18 Dec 2022 06:31:24 +0300 Subject: pump-mqtt-bot: wip; relayctl: somewhat stable --- platformio/relayctl/src/logging.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'platformio/relayctl/src/logging.h') 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 -- cgit v1.2.3