From 7adee39d82d99ad5378b7d13c2b5d8f8170e7f22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20=C3=96ster?= Date: Mon, 25 Aug 2025 19:28:33 +0300 Subject: [PATCH] Swap precharge/positive state --- Software/src/battery/VOLVO-SPA-HTML.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Software/src/battery/VOLVO-SPA-HTML.h b/Software/src/battery/VOLVO-SPA-HTML.h index 9d832d51..e1c503eb 100644 --- a/Software/src/battery/VOLVO-SPA-HTML.h +++ b/Software/src/battery/VOLVO-SPA-HTML.h @@ -55,7 +55,7 @@ class VolvoSpaHtmlRenderer : public BatteryHtmlRenderer { default: content += String("Closed"); } - content += "

Positive contactor status: "; + content += "

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 += "

Precharge Contactor status: "; + content += "

Positive Contactor status: "; switch (datalayer_extended.VolvoPolestar.HVILstatusBits & 0x10) { case 0x10: content += String("Open");