Merge branch 'main' into feature/cell_bars

This commit is contained in:
Daniel Öster 2024-02-26 12:30:21 +02:00 committed by GitHub
commit 60e691d813
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
24 changed files with 422 additions and 403 deletions

View file

@ -32,12 +32,11 @@ String cellmonitor_processor(const String& var) {
// Close the block
content += "</div>";
content += "<button onclick='goToMainPage()'>Back to main page</button>";
content += "<script>";
// Populate cell data
content += "const data = [";
for (uint8_t i = 0u; i < 120; i++) {
for (uint8_t i = 0u; i < MAX_AMOUNT_CELLS; i++) {
if (system_cellvoltages_mV[i] == 0) {
continue;
}