mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-04 10:19:29 +02:00
Add check if bat2 is configured
This commit is contained in:
parent
5888457926
commit
2f6b63afe8
1 changed files with 1 additions and 1 deletions
|
@ -1278,7 +1278,7 @@ String processor(const String& var) {
|
||||||
"causing this via Events page. Reboot required to resume operation!</span>";
|
"causing this via Events page. Reboot required to resume operation!</span>";
|
||||||
}
|
}
|
||||||
content += "</h4></div>";
|
content += "</h4></div>";
|
||||||
if (contactor_control_enabled_double_battery) {
|
if (contactor_control_enabled_double_battery && battery2) {
|
||||||
content += "<h4>Secondary battery contactor, state: ";
|
content += "<h4>Secondary battery contactor, state: ";
|
||||||
if (pwm_contactor_control) {
|
if (pwm_contactor_control) {
|
||||||
if (datalayer.system.status.contactors_battery2_engaged) {
|
if (datalayer.system.status.contactors_battery2_engaged) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue