From 81fb71a08ab3e1fd7af7358380386a68978a1136 Mon Sep 17 00:00:00 2001 From: pyr0ball Date: Tue, 29 Oct 2019 15:47:23 -0700 Subject: [PATCH] final edit to fix #54 #bugfix --- firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.x.x/src/pP_config.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.x.x/src/pP_config.cpp b/firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.x.x/src/pP_config.cpp index ff96ea4..9472c15 100644 --- a/firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.x.x/src/pP_config.cpp +++ b/firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.x.x/src/pP_config.cpp @@ -12,7 +12,6 @@ long voltMeterConstant = VM_CONST_DEFAULT; uint8_t pP_i2c_address = 0xa0; void resetEEPROM() { - resetConfig(); EEPROM.put(GAIN_FACTOR_ADDRESS, GAIN_FACTOR); EEPROM.put(FOLLOWER_THRESHOLD_ADDRESS, followerThrs); EEPROM.put(COMP_THRESHOLD_ADDRESS, compThrs); @@ -85,4 +84,4 @@ void resetConfig() { TRG_DUR = TRG_DUR_DEFAULT; Hyst = HYST_DEFAULT; voltMeterConstant = VM_CONST_DEFAULT; -} \ No newline at end of file +}