Refactor debug logging across bridge implementations

This commit is contained in:
João Brázio committed 2025-10-06 12:57:04 +01:00
1 parent 707b00d10b
commit 1de66be8a3
7 files changed
+48 -70

No files matched your search

+6
View File
@@ -28,6 +28,12 @@
#define MESH_DEBUG_PRINTLN(...) {}
#endif
#if BRIDGE_DEBUG && ARDUINO
#define BRIDGE_DEBUG_PRINTLN(F, ...) Serial.printf("%s BRIDGE: " F, getLogDateTime(), ##__VA_ARGS__)
#else
#define BRIDGE_DEBUG_PRINTLN(...) {}
#endif
namespace mesh {
#define BD_STARTUP_NORMAL 0 // getStartupReason() codes