Fix double digit timing issue

This commit is contained in:
2023-12-21 20:28:31 +05:30
parent db79e6f00f
commit 0eef2c24b8
5 changed files with 6 additions and 7 deletions
Binary file not shown.
+3 -3
View File
@@ -1,9 +1,9 @@
#ifndef BUILD_NUMBER #ifndef BUILD_NUMBER
#define BUILD_NUMBER 84 #define BUILD_NUMBER 86
#endif #endif
#ifndef VERSION #ifndef VERSION
#define VERSION "v0.1.84 - 2023-12-21 20:22:00.657608" #define VERSION "v0.1.86 - 2023-12-21 20:28:09.510150"
#endif #endif
#ifndef VERSION_SHORT #ifndef VERSION_SHORT
#define VERSION_SHORT "v0.1.84" #define VERSION_SHORT "v0.1.86"
#endif #endif
+2 -2
View File
@@ -217,9 +217,9 @@ void loop() {
} }
if (pressedKey != '\0') { if (pressedKey != '\0') {
handleKeyPress(pressedKey); handleKeyPress(pressedKey);
lastPressedKey = pressedKey;
lastMillis = millis();
} }
lastPressedKey = pressedKey;
lastMillis = millis();
} }
yield(); // Feed the WDT (again) yield(); // Feed the WDT (again)
} }
-1
View File
@@ -10,7 +10,6 @@
// How many leds in your strip? // How many leds in your strip?
#define NUM_LEDS ACTUAL_LEDS + SKIP_LEDS #define NUM_LEDS ACTUAL_LEDS + SKIP_LEDS
// For led chips like WS2812, which have a data line, ground, and power, you just // For led chips like WS2812, which have a data line, ground, and power, you just
// need to define DATA_PIN. // need to define DATA_PIN.
#define DATA_PIN D8 #define DATA_PIN D8
+1 -1
View File
@@ -1 +1 @@
84 86