From cdae15c99ad3cdacc3209cb60f7fafbb7c123b3c Mon Sep 17 00:00:00 2001 From: pyr0ball Date: Tue, 24 Sep 2019 14:40:55 -0700 Subject: [PATCH] Fixed serial input updating the wrong variable #bugfix --- firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.x.x/pP_serial.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.x.x/pP_serial.h b/firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.x.x/pP_serial.h index 4adca89..3c6b1a5 100644 --- a/firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.x.x/pP_serial.h +++ b/firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.x.x/pP_serial.h @@ -89,7 +89,7 @@ void updateVComp() { void updateVAdj() { if (serialInt >= 0) { - senseInt = serialInt; + senseThrs = serialInt; //compInt = senseInt; // syncing these params til #24 is fixed } }