Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartpittaway committed Jun 11, 2020
2 parents 2df1934 + b69ff3d commit 304fd47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ESPController/src/DIYBMSServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ void DIYBMSServer::monitor(AsyncWebServerRequest *request) {
for (uint8_t bank = 0; bank < mysettings.totalNumberOfBanks; bank++) {
JsonArray data = bankArray.createNestedArray();

for (uint16_t i = 0; i < numberOfModules[bank]; i++) {
for (uint8_t i = 0; i < numberOfModules[bank]; i++) {
JsonObject cell = data.createNestedObject();
cell["v"] = cmi[bank][i].voltagemV;
cell["minv"] = cmi[bank][i].voltagemVMin;
Expand Down

0 comments on commit 304fd47

Please sign in to comment.