From e3d0b2c5c2ff9f94dce77cdc53c862bd8398a1d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kolac=C3=AD?= Date: Thu, 24 Dec 2020 00:40:23 +0100 Subject: [PATCH] Fix - Ioniq AUX percent MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin KolacĂ­ --- CarHyundaiIoniq.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CarHyundaiIoniq.cpp b/CarHyundaiIoniq.cpp index a2a945f..c429ab2 100644 --- a/CarHyundaiIoniq.cpp +++ b/CarHyundaiIoniq.cpp @@ -97,7 +97,7 @@ void CarHyundaiIoniq::parseRowMerged() { liveData->params.speedKmh = 0; } if (liveData->commandRequest.equals("2102")) { - liveData->params.auxPerc = liveData->hexToDecFromResponse(50, 52, 1, false); + liveData->params.auxPerc = liveData->hexToDecFromResponse(38, 40, 1, false); liveData->params.auxCurrentAmp = - liveData->hexToDecFromResponse(46, 50, 2, true) / 1000.0; } }