Skip to content

Commit

Permalink
only test condition when charging
Browse files Browse the repository at this point in the history
  • Loading branch information
KipK committed Feb 2, 2023
1 parent 8ca2baf commit f2ee86c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/evse_monitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,8 @@ unsigned long EvseMonitor::loop(MicroTasks::WakeReason reason)
}

// Check if pilot is wrong ( solve OpenEvse fw compiled with -D PP_AUTO_AMPACITY)
verifyPilot();
if (isCharging())
verifyPilot();

_count ++;

Expand Down

0 comments on commit f2ee86c

Please sign in to comment.