diff --git a/WiFi_Shield.ino b/WiFi_Shield.ino index 6b2740a..a44a9d7 100644 --- a/WiFi_Shield.ino +++ b/WiFi_Shield.ino @@ -70,7 +70,7 @@ enum UpdateStatus { */ 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) // FW & SPIFFS update settings @@ -399,6 +399,7 @@ void ISR_config() { btnTimer = millis(); btnDur = 0; } else { + btnDur = millis() - btnTimer; btnTimer = 0; // Discard presses <= 50ms if (btnDur > 50) { diff --git a/firmware.bin b/firmware.bin index fb580c0..808d810 100644 Binary files a/firmware.bin and b/firmware.bin differ diff --git a/firmware.version b/firmware.version index f8b3738..3ee003a 100644 --- a/firmware.version +++ b/firmware.version @@ -1 +1 @@ -1806240002 \ No newline at end of file +1807020001 \ No newline at end of file