mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-04 18:29:48 +02:00
Merge branch 'main' into feature/cell_bars
This commit is contained in:
commit
60e691d813
24 changed files with 422 additions and 403 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue