Skip to content

Commit

Permalink
flip detection of V6 logic
Browse files Browse the repository at this point in the history
  • Loading branch information
lincomatic committed Mar 12, 2021
1 parent f79640c commit b2970d1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions firmware/open_evse/CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Change Log

202100208 SCL V7.1.3
- flip polarity of V6 detection .. HIGH = V6

202100208 SCL V7.1.2
- fix spontaneous reboot caused by PR#134 RAPI_BTN code
-> when button disabled, didn't pat the watchdog before m_Btn.read()
Expand Down
2 changes: 1 addition & 1 deletion firmware/open_evse/J1772EvseController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,7 @@ void J1772EVSEController::Init()
{
#ifdef OEV6
DPIN_MODE_INPUT(V6_ID_REG,V6_ID_IDX);
if (!DPIN_READ(V6_ID_REG,V6_ID_IDX)) m_isV6 = 1;
if (DPIN_READ(V6_ID_REG,V6_ID_IDX)) m_isV6 = 1;
else m_isV6 = 0;
// Serial.print("isV6: ");Serial.println(isV6());
#endif
Expand Down
2 changes: 1 addition & 1 deletion firmware/open_evse/open_evse.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
#define clrBits(flags,bits) (flags &= ~(bits))

#ifndef VERSION
#define VERSION "D7.1.2"
#define VERSION "D7.1.3"
#endif // !VERSION

#include "Language_default.h" //Default language should always be included as bottom layer
Expand Down

0 comments on commit b2970d1

Please sign in to comment.