From f8efc3d192da328ebaa0f9038c133dedaf4f9d0a Mon Sep 17 00:00:00 2001 From: pyr0ball Date: Fri, 25 Oct 2019 21:18:33 -0700 Subject: [PATCH] Adds 1 to the blinkcount integer, trying to fix #49 #bugfix --- firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.x.x/src/pP_volatile.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.x.x/src/pP_volatile.h b/firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.x.x/src/pP_volatile.h index 9d12576..38852e1 100644 --- a/firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.x.x/src/pP_volatile.h +++ b/firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.x.x/src/pP_volatile.h @@ -24,7 +24,7 @@ int VFol = 0; // Error blink parameters int BlinkState = LOW; -int BlinkCount = InitCount * 2; // Multiply Blink count by 2 to handle toggle state +int BlinkCount = (InitCount * 2) + 1; // Multiply Blink count by 2 to handle toggle state, add one extra to make sure light is on after // Serial Input Parsing Variables #define buffSize 40