Skip to content

Commit

Permalink
correct pinmapping parser
Browse files Browse the repository at this point in the history
  • Loading branch information
skippermeister committed Sep 6, 2024
1 parent e6cb4d8 commit 555a632
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/BatteryStats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -372,9 +372,9 @@ void PytesBatteryStats::getLiveViewData(JsonVariant& root) const
}

if (_balance != -1) {
addLiveViewTextValue(root, "balancingActive", (_balance?"yes":"no"));
addLiveViewText(root, "balancingActive", (_balance?"yes":"no"));
}
addLiveViewTextValue(root, "chargeImmediately", (_chargeImmediately?"yes":"no"));
addLiveViewText(root, "chargeImmediately", (_chargeImmediately?"yes":"no"));

addLiveViewValue(root, "online", _moduleCountOnline, "Module", 0);
addLiveViewValue(root, "offline", _moduleCountOffline, "Module", 0);
Expand Down

0 comments on commit 555a632

Please sign in to comment.