Skip to content

Commit

Permalink
added param migration
Browse files Browse the repository at this point in the history
  • Loading branch information
CaCO3 committed Sep 1, 2024
1 parent 409ac0e commit dab9e42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions code/main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,7 @@ void migrateConfiguration(void) {
}

if (section == "[PostProcessing]") {
migrated = migrated | replaceString(configLines[i], "AnalogDigitalTransitionStart", "AnalogDigitTransitionStart"); // Rename it
migrated = migrated | replaceString(configLines[i], ";PreValueUse = true", ";PreValueUse = false"); // Set it to its default value
migrated = migrated | replaceString(configLines[i], ";PreValueUse", "PreValueUse"); // Enable it

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ Default Value: `9.2`
This can be used if you have wrong values, but the recognition of the individual ROIs are correct.
Look for the start of changing of the first digit and note the analog pointer value behind.
Set it here. Only used on combination of digits and analog pointers.
See [here](../Watermeter-specific-analog---digital-transition) for details.
See [here](../Watermeter-specific-analog---digit-transition) for details.

Range: `6.0` .. `9.9`.

0 comments on commit dab9e42

Please sign in to comment.