explicitly set button pin as input
This commit is contained in:
parent
8bd087a9f0
commit
dc16c9fa07
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue