Browse Source

better handling of BTN_USER_PRESSED definition

pull/87/head
Florent 1 year ago
parent
commit
4cfdb0ef7c
  1. 4
      examples/companion_radio/UITask.cpp
  2. 1
      platformio.ini

4
examples/companion_radio/UITask.cpp

@ -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,

1
platformio.ini

@ -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>

Loading…
Cancel
Save