From 92e234d8d6a09ab538ea9798f85e627e819f482e Mon Sep 17 00:00:00 2001 From: Felix Ruess Date: Tue, 19 Feb 2013 21:58:18 +0100 Subject: [PATCH] [stm32] update can for latest libopencm3 --- sw/airborne/arch/stm32/mcu_periph/can_arch.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sw/airborne/arch/stm32/mcu_periph/can_arch.c b/sw/airborne/arch/stm32/mcu_periph/can_arch.c index f713458937..ab91e8e0b1 100644 --- a/sw/airborne/arch/stm32/mcu_periph/can_arch.c +++ b/sw/airborne/arch/stm32/mcu_periph/can_arch.c @@ -107,7 +107,9 @@ void can_hw_init(void) CAN_BTR_SJW_1TQ, CAN_BTR_TS1_10TQ, CAN_BTR_TS2_7TQ, - 2)) /* BRP+1: Baud rate prescaler */ + 2, /* BRP+1: Baud rate prescaler */ + false, /* loopback mode */ + false)) /* silent mode */ { /* TODO we need something somewhere where we can leave a note * that CAN was unable to initialize. Just like any other