This commit is contained in:
Matthew Kennedy 2020-07-29 02:23:11 -07:00
parent ecbec68a52
commit e3472b4227
1 changed files with 1 additions and 3 deletions

View File

@ -182,11 +182,9 @@ void canDashboardVAG(void) {
} }
void canDashboardW202(void) { void canDashboardW202(void) {
uint16_t tmp;
{ {
CanTxMessage msg(W202_STAT_1); CanTxMessage msg(W202_STAT_1);
tmp = GET_RPM(); uint16_t tmp = GET_RPM();
msg[0] = 0x08; // Unknown msg[0] = 0x08; // Unknown
msg[1] = (tmp >> 8); //RPM msg[1] = (tmp >> 8); //RPM
msg[2] = (tmp & 0xff); //RPM msg[2] = (tmp & 0xff); //RPM