probably fix #341 enable internal pullup on lora-v2 button

1.2-legacy
geeksville 2020-09-08 10:25:37 -07:00
rodzic 170f0693c6
commit 0a9f7147f3
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -255,6 +255,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// #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 <http://www.gnu.org/licenses/>.
#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