Make cellarray definition

This commit is contained in:
Daniel 2024-02-25 22:52:17 +02:00
parent 97e35b2478
commit 5d3cc341c8
23 changed files with 400 additions and 397 deletions

View file

@ -26,7 +26,7 @@ String cellmonitor_processor(const String& var) {
// Visualize the populated cells in forward order using flexbox with conditional text color
content += "<div class='container'>";
for (int i = 0; i < 192; ++i) {
for (int i = 0; i < MAX_AMOUNT_CELLS; ++i) {
// Skip empty values
if (system_cellvoltages_mV[i] == 0) {
continue;