mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-03 09:49:32 +02:00
Swap precharge/positive state
This commit is contained in:
parent
837407514d
commit
7adee39d82
1 changed files with 2 additions and 2 deletions
|
@ -55,7 +55,7 @@ class VolvoSpaHtmlRenderer : public BatteryHtmlRenderer {
|
|||
default:
|
||||
content += String("Closed");
|
||||
}
|
||||
content += "<h4>Positive contactor status: ";
|
||||
content += "<h4>Precharge contactor status: ";
|
||||
switch (datalayer_extended.VolvoPolestar.HVILstatusBits & 0x08) {
|
||||
case 0x08:
|
||||
content += String("Open");
|
||||
|
@ -63,7 +63,7 @@ class VolvoSpaHtmlRenderer : public BatteryHtmlRenderer {
|
|||
default:
|
||||
content += String("Closed");
|
||||
}
|
||||
content += "<h4>Precharge Contactor status: ";
|
||||
content += "<h4>Positive Contactor status: ";
|
||||
switch (datalayer_extended.VolvoPolestar.HVILstatusBits & 0x10) {
|
||||
case 0x10:
|
||||
content += String("Open");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue