Working fork to test F0 application
Fork of CANnucleo by
Diff: stm32f1xx_hal_msp.c
- Revision:
- 12:c45310ff2233
- Parent:
- 11:439f3a34c42e
- Child:
- 14:0344705e6fb8
--- a/stm32f1xx_hal_msp.c Tue Dec 22 18:19:16 2015 +0000 +++ b/stm32f1xx_hal_msp.c Tue Dec 22 20:46:47 2015 +0000 @@ -166,10 +166,10 @@ /* Disable peripherals and GPIO Clocks */ if((_rxPin == PA_11) && (_txPin == PA_12)) { - /* De-initialize the CAN1 TX GPIO pin */ + /* De-initialize the CAN1 RX GPIO pin */ HAL_GPIO_DeInit(GPIOA, GPIO_PIN_11); - /* De-initialize the CAN1 RX GPIO pin */ + /* De-initialize the CAN1 TX GPIO pin */ HAL_GPIO_DeInit(GPIOA, GPIO_PIN_12); } else { @@ -177,7 +177,7 @@ /* De-initialize the CAN1 TX GPIO pin */ HAL_GPIO_DeInit(GPIOB, GPIO_PIN_8); - /* De-initialize the CAN1 RX GPIO pin */ + /* De-initialize the CAN1 TX GPIO pin */ HAL_GPIO_DeInit(GPIOB, GPIO_PIN_9); }