Skip to content

Commit

Permalink
fix typo: getLastRequestedPowe*w*rLimit()
Browse files Browse the repository at this point in the history
  • Loading branch information
schlimmchen committed Jun 30, 2023
1 parent fd208cf commit 0b0bcf1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/PowerLimiter.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class PowerLimiterClass {
void init();
void loop();
uint8_t getPowerLimiterState();
int32_t getLastRequestedPowewrLimit();
int32_t getLastRequestedPowerLimit();
void setMode(uint8_t mode);
bool getMode();
void calcNextInverterRestart();
Expand Down
2 changes: 1 addition & 1 deletion src/PowerLimiter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ uint8_t PowerLimiterClass::getPowerLimiterState() {
return PL_UI_STATE_INACTIVE;
}

int32_t PowerLimiterClass::getLastRequestedPowewrLimit() {
int32_t PowerLimiterClass::getLastRequestedPowerLimit() {
return _lastRequestedPowerLimit;
}

Expand Down
2 changes: 1 addition & 1 deletion src/WebApi_ws_vedirect_live.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ void WebApiWsVedirectLiveClass::generateJsonResponse(JsonVariant& root)
root["dpl"]["PLSTATE"] = -1;
if (Configuration.get().PowerLimiter_Enabled)
root["dpl"]["PLSTATE"] = PowerLimiter.getPowerLimiterState();
root["dpl"]["PLLIMIT"] = PowerLimiter.getLastRequestedPowewrLimit();
root["dpl"]["PLLIMIT"] = PowerLimiter.getLastRequestedPowerLimit();

if (VeDirect.getLastUpdate() > _newestVedirectTimestamp) {
_newestVedirectTimestamp = VeDirect.getLastUpdate();
Expand Down

0 comments on commit 0b0bcf1

Please sign in to comment.