stm32: Fix RESERVE_PINS_CAN pin ordering in fdcan.c
Always report the reserved pins in the same order (rx,tx). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
876f351127
commit
55f60601ca
@ -56,7 +56,7 @@
|
||||
#define GPIO_Rx GPIO('B', 12)
|
||||
#define GPIO_Tx GPIO('B', 13)
|
||||
#elif CONFIG_STM32_CANBUS_PH13_PH14
|
||||
DECL_CONSTANT_STR("RESERVE_PINS_CAN", "PH13,PH14");
|
||||
DECL_CONSTANT_STR("RESERVE_PINS_CAN", "PH14,PH13");
|
||||
#define GPIO_Rx GPIO('H', 14)
|
||||
#define GPIO_Tx GPIO('H', 13)
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user