Unify full firmware profiles and add dual USB logging

This commit is contained in:
mikecarper
2026-08-23 19:22:45 -07:00
parent 9ed9e9d746
commit 5362d36ac7
56 changed files with 1652 additions and 361 deletions
+1 -1
View File
@@ -21,7 +21,7 @@
#ifdef MQTT_DEBUG
#include <Arduino.h>
#define ALERT_DEBUG_PRINTLN(...) do { if (mesh::isUsbLoggingEnabled()) { Serial.printf("Alert: " __VA_ARGS__); Serial.println(); } } while (0)
#define ALERT_DEBUG_PRINTLN(...) do { if (mesh::isUsbLoggingEnabled()) { mesh::usbLoggingPort().printf("Alert: " __VA_ARGS__); mesh::usbLoggingPort().println(); } } while (0)
#else
#define ALERT_DEBUG_PRINTLN(...) do {} while (0)
#endif