better handling of BTN_USER_PRESSED definition

This commit is contained in:
Florent
2025-03-10 22:42:52 +01:00
parent 7bb16cd7f3
commit 4cfdb0ef7c
2 changed files with 4 additions and 1 deletions

View File

@@ -4,6 +4,10 @@
#define AUTO_OFF_MILLIS 15000 // 15 seconds
#ifndef USER_BTN_PRESSED
#define USER_BTN_PRESSED LOW
#endif
// 'meshcore', 128x13px
static const uint8_t meshcore_logo [] PROGMEM = {
0x3c, 0x01, 0xe3, 0xff, 0xc7, 0xff, 0x8f, 0x03, 0x87, 0xfe, 0x1f, 0xfe, 0x1f, 0xfe, 0x1f, 0xfe,

View File

@@ -22,7 +22,6 @@ build_flags = -w -DNDEBUG -DRADIOLIB_STATIC_ONLY=1 -DRADIOLIB_GODMODE=1
-D LORA_FREQ=867.5
-D LORA_BW=250
-D LORA_SF=10
-D USER_BTN_PRESSED=LOW
build_src_filter =
+<*.cpp>
+<helpers/*.cpp>