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:
rusefi 2024-04-15 00:55:54 -04:00
parent 532971b965
commit 088a11b6de
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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);