Skip to content

Commit

Permalink
Remove PP_TABLE_IEC define
Browse files Browse the repository at this point in the history
When PP_TABLE_TESLA was removed in commit 7f772c4, this was left as
the only remaining table, and must always be defined if PP_AUTO_AMPACITY
is defined.
  • Loading branch information
toofishes committed Nov 14, 2020
1 parent fc38806 commit af0cf73
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions firmware/open_evse/AutoCurrentCapacityController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

#ifdef PP_AUTO_AMPACITY

#ifdef PP_TABLE_IEC
static PP_AMPS s_ppAmps[] = {
{0,0},
{93,63}, // 100 = 93
Expand All @@ -25,7 +24,6 @@ static PP_AMPS s_ppAmps[] = {
{615,13}, // 1.5K = 615
{1023,0}
};
#endif //PP_TABLE_IEC

AutoCurrentCapacityController::AutoCurrentCapacityController() :
adcPP(PP_PIN)
Expand Down
1 change: 0 additions & 1 deletion firmware/open_evse/open_evse.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@

#ifdef PP_AUTO_AMPACITY
#define STATE_TRANSITION_REQ_FUNC
#define PP_TABLE_IEC

#include "AutoCurrentCapacityController.h"

Expand Down

0 comments on commit af0cf73

Please sign in to comment.