moving OpenBLT IDs a bit up to reduce chance of conflict on random OEM, take two
only:small-can-board
This commit is contained in:
parent
532971b965
commit
088a11b6de
|
@ -18,3 +18,7 @@
|
|||
/** \brief Configure CAN message ID target->host. */
|
||||
#define BOOT_COM_CAN_TX_MSG_ID (0x107E1 | 0x80000000)
|
||||
#endif
|
||||
|
||||
#ifndef BOOT_COM_CAN_EXT
|
||||
#define BOOT_COM_CAN_EXT true
|
||||
#endif
|
||||
|
|
|
@ -131,7 +131,7 @@ static bool setupCan(JNIEnv* env, jobject jCallbacks) {
|
|||
canSettings.baudrate = BOOT_COM_CAN_BAUDRATE;
|
||||
canSettings.transmitId = BOOT_COM_CAN_RX_MSG_ID;
|
||||
canSettings.receiveId = BOOT_COM_CAN_TX_MSG_ID;
|
||||
canSettings.useExtended = false;
|
||||
canSettings.useExtended = BOOT_COM_CAN_EXT;
|
||||
|
||||
BltSessionInit(BLT_SESSION_XCP_V10, &xcpSettings, BLT_TRANSPORT_XCP_V10_USB, &canSettings);
|
||||
|
||||
|
|
Loading…
Reference in New Issue