examples: fix lisa-m-1 can example to use new can init function
This commit is contained in:
parent
527eeacbff
commit
32924fcc15
|
@ -135,7 +135,9 @@ void can_setup(void)
|
|||
CAN_BTR_SJW_1TQ,
|
||||
CAN_BTR_TS1_3TQ,
|
||||
CAN_BTR_TS2_4TQ,
|
||||
12)) /* BRP+1: Baud rate prescaler */
|
||||
12, /* BRP+1: Baud rate prescaler */
|
||||
false, /* loopback mode */
|
||||
false)) /* silent mode */
|
||||
{
|
||||
gpio_set(GPIOA, GPIO8); /* LED0 off */
|
||||
gpio_set(GPIOB, GPIO4); /* LED1 off */
|
||||
|
|
Loading…
Reference in New Issue