Can message (#887)

* Can

* Can
This commit is contained in:
960 2019-07-21 14:17:09 +02:00 committed by rusefi
parent 3a1e5a0329
commit 1d2d94236a
2 changed files with 5 additions and 1 deletions

View File

@ -216,6 +216,10 @@ static void canDashboardVAG(void) {
commonTxInit(CAN_VAG_CLT_V2);
setShortValue(&txmsg, (int) ((engine->sensors.clt + 48.373) / 0.75), 4); //Coolant Temp
sendCanMessage();
commonTxInit(CAN_VAG_IMMO);
setShortValue(&txmsg, 0x80, 1);
sendCanMessage();
}
static void canInfoNBCBroadcast(can_nbc_e typeOfNBC) {

View File

@ -36,7 +36,7 @@
#define CAN_VAG_RPM 0x280
#define CAN_VAG_CLT 0x288
#define CAN_VAG_CLT_V2 0x420
#define CAN_VAG_IMMO 0x3D0
void initCan(void);
void commonTxInit(int eid);