From a9d928833ae6d14214eb6c7c8d67bd5974ad9e74 Mon Sep 17 00:00:00 2001 From: pyr0ball Date: Tue, 31 Dec 2019 15:48:25 -0800 Subject: [PATCH] fixed logic level change not taking effect til trigger #bugfix --- firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.x.x/src/pP_serial.h | 1 + 1 file changed, 1 insertion(+) diff --git a/firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.x.x/src/pP_serial.h b/firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.x.x/src/pP_serial.h index 23e5efd..f374afb 100644 --- a/firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.x.x/src/pP_serial.h +++ b/firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.x.x/src/pP_serial.h @@ -114,6 +114,7 @@ void updateLogic() { if (serialLong >= 0) { LOGIC = serialLong; EEPROM.put(LOGIC_ADDRESS, LOGIC); + pulse(); } } /*------------------------------------------------*/