cherry-picking
This commit is contained in:
parent
d26e9e0c96
commit
65fb6f7df5
|
@ -150,7 +150,7 @@ static void canMazdaRX8(void) {
|
|||
txmsg.data8[7] = 0x00; // Unused
|
||||
|
||||
commonTxInit(CAN_MAZDA_RX_STATUS_2);
|
||||
txmsg.data8[0] = (char)(engine->sensors.clt + 62); //temp gauge //~170 is red, ~165 last bar, 152 centre, 90 first bar, 92 second bar
|
||||
txmsg.data8[0] = (char)(engine->sensors.clt + 69); //temp gauge //~170 is red, ~165 last bar, 152 centre, 90 first bar, 92 second bar
|
||||
txmsg.data8[1] = 0x00; // something to do with trip meter 0x10, 0x11, 0x17 increments by 0.1 miles
|
||||
txmsg.data8[2] = 0x00; // unknown
|
||||
txmsg.data8[3] = 0x00; //unknown
|
||||
|
@ -160,8 +160,8 @@ static void canMazdaRX8(void) {
|
|||
if ((getRpmE(engine)>0) && (engine->sensors.vBatt<13)) {
|
||||
setTxBit(6, 6); // battery light
|
||||
}
|
||||
if (engine->sensors.clt > 98) {
|
||||
setTxBit(6, 1); // coolant light
|
||||
if (engine->sensors.clt > 105) {
|
||||
setTxBit(6, 1); // coolant light, 101 - red zone, light means its get too hot
|
||||
}
|
||||
//oil pressure warning lamp bit is 7
|
||||
txmsg.data8[7] = 0x00; //unused
|
||||
|
|
Loading…
Reference in New Issue