Skip to content

Commit

Permalink
fixed ptab reset
Browse files Browse the repository at this point in the history
  • Loading branch information
doudar committed Nov 5, 2024
1 parent aa209dd commit 3529a77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ERG_Mode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ void PowerTable::runERG() {

if (ss2k->resetPowerTableFlag) {
powerTable->reset();
userConfig->setHMin(-DEFAULT_STEPPER_TRAVEL);
userConfig->setHMax(DEFAULT_STEPPER_TRAVEL);
userConfig->setHMin(INT32_MIN);
userConfig->setHMax(INT32_MIN);
rtConfig->setHomed(false);
userConfig->saveToLittleFS();
}
Expand Down

0 comments on commit 3529a77

Please sign in to comment.