From 0a9f7147f3b9b313f8a6ecb41e9832891f0ead47 Mon Sep 17 00:00:00 2001 From: geeksville Date: Tue, 8 Sep 2020 10:25:37 -0700 Subject: [PATCH] probably fix #341 enable internal pullup on lora-v2 button --- src/configuration.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/configuration.h b/src/configuration.h index 50e16e6ac..e70f1fda4 100644 --- a/src/configuration.h +++ b/src/configuration.h @@ -255,6 +255,7 @@ along with this program. If not, see . // #define VEXT_ENABLE 21 // active low, powers the oled display and the lora antenna boost #define LED_PIN 2 // If defined we will blink this LED #define BUTTON_PIN 0 // If defined, this will be used for user button presses +#define BUTTON_NEED_PULLUP #define USE_RF95 #define LORA_DIO0 26 // a No connect on the SX1262 module @@ -281,6 +282,7 @@ along with this program. If not, see . #define BUTTON_PIN \ 0 // If defined, this will be used for user button presses, if your board doesn't have a physical switch, you can wire one // between this pin and ground +#define BUTTON_NEED_PULLUP #define USE_RF95 #define LORA_DIO0 26 // a No connect on the SX1262 module