Преглед на файлове

fix error in Buttonhandling.ino introduced with last commit

FloKra преди 1 година
родител
ревизия
bd9ba198eb
променени са 3 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. BIN
      releases/bin/WiFiThermostat.ino.d1_mini.20221125_v0.6.5.bin
  2. BIN
      releases/src/WiFiThermostat_0.6.5.zip
  3. 2 2
      src/Buttonhandling.ino

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