Skip to content

Commit 05df1c4

Browse files
committed
main.cpp: always switch to 3P in Normal mode
1 parent 686936b commit 05df1c4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

SmartEVSE-3/src/main.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,6 +1159,11 @@ void CalcBalancedCurrent(char mod) {
11591159
// limiting is per phase so no Nr_Of_Phases_Charging here!
11601160
else
11611161
IsetBalanced = ChargeCurrent; // No Load Balancing in Normal Mode. Set current to ChargeCurrent (fix: v2.05)
1162+
1163+
if (Nr_Of_Phases_Charging != 3) {
1164+
Switching_Phases_C2 = GOING_TO_SWITCH_3P;
1165+
_LOG_D("Normal mode is always 3-phase\n");
1166+
}
11621167
} //end MODE_NORMAL
11631168
else { // start MODE_SOLAR || MODE_SMART
11641169
if (Mode == MODE_SOLAR && State == STATE_B) {

0 commit comments

Comments
 (0)