Skip to content

Commit 441ffd2

Browse files
jheredianetjeremypoulter
authored andcommitted
Enable All RAPI Commands
1 parent a92d076 commit 441ffd2

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/evse_man.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -603,11 +603,12 @@ void EvseManager::setMaxConfiguredCurrent(long amps)
603603

604604
bool EvseManager::isRapiCommandBlocked(String rapi)
605605
{
606-
#ifdef ENABLE_FULL_RAPI
606+
//#ifdef ENABLE_FULL_RAPI
607+
// return false;
608+
//#else
609+
// return !rapi.startsWith("$G");
610+
//#endif
607611
return false;
608-
#else
609-
return !rapi.startsWith("$G");
610-
#endif
611612
}
612613

613614
bool EvseManager::serializeClaims(DynamicJsonDocument &doc)

0 commit comments

Comments
 (0)