Fixed Config button press routine not working
This commit is contained in:
parent
1aa7634ca3
commit
ca2e2e95bd
|
@ -70,7 +70,7 @@ enum UpdateStatus {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
unsigned long HW_GROUP = 1; // Changes with hardware changes that require software changes
|
unsigned long HW_GROUP = 1; // Changes with hardware changes that require software changes
|
||||||
unsigned long FW_VERSION = 1806240002; // Changes with each release; must always increase
|
unsigned long FW_VERSION = 1807020001; // Changes with each release; must always increase
|
||||||
unsigned long SP_VERSION = 0; // Loaded from SPIFFS; changed with each SPIFFS build; must always increase (uses timestamp as version)
|
unsigned long SP_VERSION = 0; // Loaded from SPIFFS; changed with each SPIFFS build; must always increase (uses timestamp as version)
|
||||||
|
|
||||||
// FW & SPIFFS update settings
|
// FW & SPIFFS update settings
|
||||||
|
@ -399,6 +399,7 @@ void ISR_config() {
|
||||||
btnTimer = millis();
|
btnTimer = millis();
|
||||||
btnDur = 0;
|
btnDur = 0;
|
||||||
} else {
|
} else {
|
||||||
|
btnDur = millis() - btnTimer;
|
||||||
btnTimer = 0;
|
btnTimer = 0;
|
||||||
// Discard presses <= 50ms
|
// Discard presses <= 50ms
|
||||||
if (btnDur > 50) {
|
if (btnDur > 50) {
|
||||||
|
|
BIN
firmware.bin
BIN
firmware.bin
Binary file not shown.
|
@ -1 +1 @@
|
||||||
1806240002
|
1807020001
|
Loading…
Reference in New Issue