Browse Source

fix error in Buttonhandling.ino introduced with last commit

FloKra 1 year ago
parent
commit
bd9ba198eb

BIN
releases/bin/WiFiThermostat.ino.d1_mini.20221125_v0.6.5.bin


BIN
releases/src/WiFiThermostat_0.6.5.zip


+ 2 - 2
src/Buttonhandling.ino

@@ -2,8 +2,8 @@
 const unsigned int buttonMaxClickTime = 500;
 const unsigned int buttonMaxClickTime_2 = 350;     // actual max time a button may be pressed to get detected as short press/click
 const unsigned int buttonDebounceTime = 50;
-const unsigned int buttonRepeatTime = 50;
-const unsigned int buttonHoldTime = 50;
+const unsigned int buttonRepeatTime = 350;
+const unsigned int buttonHoldTime = 1000;
 const unsigned int buttonRepeatTime_menuButton = 1000;
 
 // Use this function to configure the internal Bounce object to suit you. See the documentation at: https://github.com/thomasfredericks/Bounce2/wiki