Updated all 700h-712h functionality, added full locking mechanism and byte through 312h, It should be tested in a car...
This commit is contained in:
@@ -242,6 +242,10 @@ const CanMessageDef MSG_ID_EMPF2 = {
|
||||
.send_on_boot = 0,
|
||||
.rx_handler = NULL
|
||||
};
|
||||
|
||||
|
||||
|
||||
#if defined(T06301)
|
||||
const CanMessageDef MSG_ID_EMPF3 =
|
||||
{
|
||||
.can_id = ID_EMPF3, // you set 0x714
|
||||
@@ -254,9 +258,6 @@ const CanMessageDef MSG_ID_EMPF3 =
|
||||
.send_on_boot = 0,
|
||||
.rx_handler = NULL
|
||||
};
|
||||
|
||||
#if defined(T06301)
|
||||
|
||||
const CanMessageDef MSG_ID_EMPF4 = {
|
||||
.can_id = ID_EMPF4,
|
||||
.dir = CAN_DIR_TX,
|
||||
@@ -268,6 +269,19 @@ const CanMessageDef MSG_ID_EMPF4 = {
|
||||
.send_on_boot = 0,
|
||||
.rx_handler = NULL
|
||||
};
|
||||
#else
|
||||
const CanMessageDef MSG_ID_EMPF3 =
|
||||
{
|
||||
.can_id = ID_EMPF3, // you set 0x714
|
||||
.dir = CAN_DIR_TX,
|
||||
.dlc = 8,
|
||||
.name = "BOOT_TEMPLATE",
|
||||
.symbols = NULL,
|
||||
.symbol_count = 0,
|
||||
.tx_template = STARTUP_PAYLOAD,
|
||||
.send_on_boot = 0,
|
||||
.rx_handler = NULL
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user