fix battery voltage

This commit is contained in:
Rémi Heredero 2023-09-13 13:14:58 +02:00
parent df63ece978
commit a04b19b081

View File

@ -307,7 +307,7 @@ void CM_processIncome(uint8_t idSender, uint8_t idMsg, bool rtr, uint32_t data){
**********/ **********/
case 6: case 6:
if(idMsg == 0x1) { if(idMsg == 0x1) {
eKart.batteryVoltage = data.full; eKart.batteryVoltage = incomeData.full;
} }
if(idMsg == 0x4) { if(idMsg == 0x4) {