From 00e07d5d93659fe239560b450198e05f338d9453 Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Sat, 12 Dec 2020 15:17:44 -0800 Subject: [PATCH] fix can mode --- firmware/can.cpp | 8 ++++---- for_rusefi/wideband_image.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/firmware/can.cpp b/firmware/can.cpp index 718a0dc..0ad20fc 100644 --- a/firmware/can.cpp +++ b/firmware/can.cpp @@ -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); diff --git a/for_rusefi/wideband_image.h b/for_rusefi/wideband_image.h index 00acb90..558a135 100644 --- a/for_rusefi/wideband_image.h +++ b/for_rusefi/wideband_image.h @@ -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,