diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2025-04-01 21:25:34 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2025-04-01 21:25:34 -0400 |
commit | 55f60601ca0e08808d553bf13e3ae9cbda101e17 (patch) | |
tree | 69c23437ae538b8d067e44edac6bc2948ff842c1 | |
parent | 876f351127d645079d1d5187b6404c98ff7aadc6 (diff) | |
download | kutter-55f60601ca0e08808d553bf13e3ae9cbda101e17.tar.gz kutter-55f60601ca0e08808d553bf13e3ae9cbda101e17.tar.xz kutter-55f60601ca0e08808d553bf13e3ae9cbda101e17.zip |
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>
-rw-r--r-- | src/stm32/fdcan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stm32/fdcan.c b/src/stm32/fdcan.c index 25a334af..39c11d99 100644 --- a/src/stm32/fdcan.c +++ b/src/stm32/fdcan.c @@ -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 |