Skip to content

Commit

Permalink
Experimental changes to try to fix #762
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremypoulter committed Jan 9, 2024
1 parent e09e53a commit 94ced45
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/current_shaper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,9 @@ void CurrentShaperTask::shapeCurrent() {
max_pwr += solar;
}
}
if (livepwr > max_pwr) {
livepwr = max_pwr;
}
// if (livepwr > max_pwr) {
// livepwr = max_pwr;
// }
if(!config_threephase_enabled()) {
_max_cur = ((max_pwr - livepwr) / evse.getVoltage()) + evse.getAmps();
}
Expand Down

0 comments on commit 94ced45

Please sign in to comment.