From 55f60601ca0e08808d553bf13e3ae9cbda101e17 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Tue, 1 Apr 2025 21:25:34 -0400 Subject: [PATCH] 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 --- src/stm32/fdcan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stm32/fdcan.c b/src/stm32/fdcan.c index 25a334af2..39c11d99b 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