Skip to content

Commit

Permalink
get rid of hardcoded value
Browse files Browse the repository at this point in the history
  • Loading branch information
lincomatic committed Mar 28, 2020
1 parent b0249fa commit 43675b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firmware/open_evse/J1772EvseController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ uint8_t J1772EVSEController::doPost()
#endif //#ifdef SERDBG

m_Pilot.SetState(PILOT_STATE_N12);
if (reading > 900) { // IF EV is not connected its Okay to open the relay the do the L1/L2 and ground Check
if (reading >= m_ThreshData.m_ThreshAB) { // IF EV is not connected its Okay to open the relay the do the L1/L2 and ground Check

// save state with both relays off - for stuck relay state
RelayOff = ReadACPins();
Expand Down

0 comments on commit 43675b2

Please sign in to comment.