parent
3a1e5a0329
commit
1d2d94236a
|
@ -216,6 +216,10 @@ static void canDashboardVAG(void) {
|
||||||
commonTxInit(CAN_VAG_CLT_V2);
|
commonTxInit(CAN_VAG_CLT_V2);
|
||||||
setShortValue(&txmsg, (int) ((engine->sensors.clt + 48.373) / 0.75), 4); //Coolant Temp
|
setShortValue(&txmsg, (int) ((engine->sensors.clt + 48.373) / 0.75), 4); //Coolant Temp
|
||||||
sendCanMessage();
|
sendCanMessage();
|
||||||
|
|
||||||
|
commonTxInit(CAN_VAG_IMMO);
|
||||||
|
setShortValue(&txmsg, 0x80, 1);
|
||||||
|
sendCanMessage();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void canInfoNBCBroadcast(can_nbc_e typeOfNBC) {
|
static void canInfoNBCBroadcast(can_nbc_e typeOfNBC) {
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
#define CAN_VAG_RPM 0x280
|
#define CAN_VAG_RPM 0x280
|
||||||
#define CAN_VAG_CLT 0x288
|
#define CAN_VAG_CLT 0x288
|
||||||
#define CAN_VAG_CLT_V2 0x420
|
#define CAN_VAG_CLT_V2 0x420
|
||||||
|
#define CAN_VAG_IMMO 0x3D0
|
||||||
|
|
||||||
void initCan(void);
|
void initCan(void);
|
||||||
void commonTxInit(int eid);
|
void commonTxInit(int eid);
|
||||||
|
|
Loading…
Reference in New Issue