Default button polarity to active-LOW across all firmware types

Nearly all LoRa boards use a boot button that pulls to ground when
pressed.
This commit is contained in:
Wessel Nieboer
2026-04-04 13:19:13 +02:00
zatwierdzone przez Wessel Nieboer
rodzic fb726e48c2
commit 0a13ac7fc7
11 zmienionych plików z 27 dodań i 11 usunięć
+4
Wyświetl plik
@@ -3,6 +3,10 @@
#include <MeshCore.h>
#include <Arduino.h>
#ifndef USER_BTN_PRESSED
#define USER_BTN_PRESSED LOW
#endif
#if defined(ESP_PLATFORM)
#include <rom/rtc.h>