Fix - Ioniq AUX percent

Signed-off-by: Martin Kolací <martin.kolaci@lmc.eu>
This commit is contained in:
Martin Kolací
2020-12-24 00:40:23 +01:00
parent ff9e968d69
commit e3d0b2c5c2

View File

@@ -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;
}
}