it's going to be painful

This commit is contained in:
Andrey 2023-04-28 20:50:29 -04:00
parent 20016f75f7
commit 855de755ba
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ float processBMW_e46(const CANRxFrame& frame) {
uint16_t left = (((frame.data8[5] & 0x0f) << 8) | frame.data8[4]);
uint16_t right = (((frame.data8[7] & 0x0f) << 8) | frame.data8[6]);
return tmp / 16.0f;
return (left + right) / (16 * 2);
}
float processW202(const CANRxFrame& frame) {