final edit to fix #54 #bugfix
This commit is contained in:
parent
a09a5c8e4e
commit
81fb71a08a
1 changed files with 1 additions and 2 deletions
|
|
@ -12,7 +12,6 @@ long voltMeterConstant = VM_CONST_DEFAULT;
|
||||||
uint8_t pP_i2c_address = 0xa0;
|
uint8_t pP_i2c_address = 0xa0;
|
||||||
|
|
||||||
void resetEEPROM() {
|
void resetEEPROM() {
|
||||||
resetConfig();
|
|
||||||
EEPROM.put(GAIN_FACTOR_ADDRESS, GAIN_FACTOR);
|
EEPROM.put(GAIN_FACTOR_ADDRESS, GAIN_FACTOR);
|
||||||
EEPROM.put(FOLLOWER_THRESHOLD_ADDRESS, followerThrs);
|
EEPROM.put(FOLLOWER_THRESHOLD_ADDRESS, followerThrs);
|
||||||
EEPROM.put(COMP_THRESHOLD_ADDRESS, compThrs);
|
EEPROM.put(COMP_THRESHOLD_ADDRESS, compThrs);
|
||||||
|
|
@ -85,4 +84,4 @@ void resetConfig() {
|
||||||
TRG_DUR = TRG_DUR_DEFAULT;
|
TRG_DUR = TRG_DUR_DEFAULT;
|
||||||
Hyst = HYST_DEFAULT;
|
Hyst = HYST_DEFAULT;
|
||||||
voltMeterConstant = VM_CONST_DEFAULT;
|
voltMeterConstant = VM_CONST_DEFAULT;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue