fix can mode

This commit is contained in:
Matthew Kennedy 2020-12-12 15:17:44 -08:00
parent 4566803d0e
commit 00e07d5d93
2 changed files with 5 additions and 5 deletions

View File

@ -8,14 +8,14 @@
static const CANConfig canConfig500 =
{
CAN_MCR_ABOM | CAN_MCR_AWUM | CAN_MCR_TXFP | CAN_MCR_NART,
CAN_BTR_SJW(0) | CAN_BTR_BRP(5) | CAN_BTR_TS1(12) | CAN_BTR_TS2(1) | CAN_BTR_LBKM,
CAN_MCR_ABOM | CAN_MCR_AWUM | CAN_MCR_TXFP,
CAN_BTR_SJW(0) | CAN_BTR_BRP(5) | CAN_BTR_TS1(12) | CAN_BTR_TS2(1),
};
static const CANConfig canConfig1000 =
{
CAN_MCR_ABOM | CAN_MCR_AWUM | CAN_MCR_TXFP | CAN_MCR_NART,
CAN_BTR_SJW(0) | CAN_BTR_BRP(2) | CAN_BTR_TS1(12) | CAN_BTR_TS2(1) | CAN_BTR_LBKM,
CAN_MCR_ABOM | CAN_MCR_AWUM | CAN_MCR_TXFP,
CAN_BTR_SJW(0) | CAN_BTR_BRP(2) | CAN_BTR_TS1(12) | CAN_BTR_TS2(1),
};
static THD_WORKING_AREA(waCanTxThread, 256);

View File

@ -1389,7 +1389,7 @@ static const unsigned char build_wideband_noboot_bin[] = {
0x88, 0x3d, 0x00, 0x08, 0x88, 0x3d, 0x00, 0x08, 0xe4, 0x3e, 0x00, 0x08,
0x88, 0x3d, 0x00, 0x08, 0x16, 0x3e, 0x00, 0x08, 0x88, 0x3d, 0x00, 0x08,
0x88, 0x3d, 0x00, 0x08, 0xc6, 0x3e, 0x00, 0x08, 0x69, 0x64, 0x6c, 0x65,
0x00, 0x00, 0x00, 0x00, 0x74, 0x00, 0x00, 0x00, 0x02, 0x00, 0x1c, 0x40,
0x00, 0x00, 0x00, 0x00, 0x64, 0x00, 0x00, 0x00, 0x02, 0x00, 0x1c, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0xc2, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,