From af0cf73e2007394a7536f8073c61ac7f5bad8ea2 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 28 Oct 2020 21:20:52 -0500 Subject: [PATCH] Remove PP_TABLE_IEC define When PP_TABLE_TESLA was removed in commit 7f772c469f7, this was left as the only remaining table, and must always be defined if PP_AUTO_AMPACITY is defined. --- firmware/open_evse/AutoCurrentCapacityController.cpp | 2 -- firmware/open_evse/open_evse.h | 1 - 2 files changed, 3 deletions(-) diff --git a/firmware/open_evse/AutoCurrentCapacityController.cpp b/firmware/open_evse/AutoCurrentCapacityController.cpp index 8a972aa6..76477614 100644 --- a/firmware/open_evse/AutoCurrentCapacityController.cpp +++ b/firmware/open_evse/AutoCurrentCapacityController.cpp @@ -16,7 +16,6 @@ #ifdef PP_AUTO_AMPACITY -#ifdef PP_TABLE_IEC static PP_AMPS s_ppAmps[] = { {0,0}, {93,63}, // 100 = 93 @@ -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) diff --git a/firmware/open_evse/open_evse.h b/firmware/open_evse/open_evse.h index 4c61ca22..c0546ce0 100644 --- a/firmware/open_evse/open_evse.h +++ b/firmware/open_evse/open_evse.h @@ -114,7 +114,6 @@ #ifdef PP_AUTO_AMPACITY #define STATE_TRANSITION_REQ_FUNC -#define PP_TABLE_IEC #include "AutoCurrentCapacityController.h"