mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-04 02:09:30 +02:00
Make discharge limits under settings datalayer
This commit is contained in:
parent
91f3c8caf9
commit
c3e67d2f62
5 changed files with 19 additions and 19 deletions
|
@ -58,10 +58,10 @@ String settings_processor(const String& var) {
|
|||
";'>SOC min percentage: " + String(datalayer.battery.settings.min_percentage / 100.0, 1) +
|
||||
" </span> <button onclick='editSocMin()'>Edit</button></h4>";
|
||||
content += "<h4 style='color: white;'>Max charge speed: " +
|
||||
String(datalayer.battery.info.max_user_set_charge_dA / 10.0, 1) +
|
||||
String(datalayer.battery.settings.max_user_set_charge_dA / 10.0, 1) +
|
||||
" A </span> <button onclick='editMaxChargeA()'>Edit</button></h4>";
|
||||
content += "<h4 style='color: white;'>Max discharge speed: " +
|
||||
String(datalayer.battery.info.max_user_set_discharge_dA / 10.0, 1) +
|
||||
String(datalayer.battery.settings.max_user_set_discharge_dA / 10.0, 1) +
|
||||
" A </span> <button onclick='editMaxDischargeA()'>Edit</button></h4>";
|
||||
// Close the block
|
||||
content += "</div>";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue