diff --git a/lib/FT_2018_STW_CAN/FT_2018_STW_CAN.cpp b/lib/FT_2018_STW_CAN/FT_2018_STW_CAN.cpp index 39df85c..312095e 100644 --- a/lib/FT_2018_STW_CAN/FT_2018_STW_CAN.cpp +++ b/lib/FT_2018_STW_CAN/FT_2018_STW_CAN.cpp @@ -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