Update MeshCore features and OTA layout handling

This commit is contained in:
mikecarper committed 2026-08-18 23:17:42 -07:00
1 parent 0c4619bcc3
commit 47993d178e
74 files changed
+1696 -1169

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
#include "UsbLogging.h"
#if defined(ARDUINO)
#include <atomic>
namespace mesh {
static std::atomic<bool> usb_logging_enabled{true};
bool isUsbLoggingEnabled() {
return usb_logging_enabled.load(std::memory_order_relaxed);
}
void setUsbLoggingEnabled(bool enabled) {
usb_logging_enabled.store(enabled, std::memory_order_relaxed);
}
} // namespace mesh
#endif