Fix RPM CAN bytes
This commit is contained in:
parent
c8e94175d1
commit
6609947618
|
@ -109,7 +109,7 @@ void Receive_Can_0(CAN_FRAME *temp_message) {
|
|||
}
|
||||
case CAN_ID_MS4_IGN_REV_ATH: { // rpm
|
||||
Vehicle_data.revol =
|
||||
(temp_message->data.byte[5] | temp_message->data.byte[4] << 8);
|
||||
(temp_message->data.byte[4] | temp_message->data.byte[3] << 8);
|
||||
break;
|
||||
}
|
||||
case CAN_ID_MS4_SPEED: { // speed
|
||||
|
|
Loading…
Reference in New Issue