explicitly set button pin as input

This commit is contained in:
Hansi, dl9rdz 2019-05-01 19:14:36 +02:00
parent 8bd087a9f0
commit dc16c9fa07
1 changed files with 1 additions and 0 deletions

View File

@ -674,6 +674,7 @@ void setup()
setupWifiList(); setupWifiList();
button1.pin = sonde.config.button_pin; button1.pin = sonde.config.button_pin;
pinMode(button1.pin, INPUT);
// == show initial values from config.txt ========================= // // == show initial values from config.txt ========================= //
if (sonde.config.debug == 1) { if (sonde.config.debug == 1) {