Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of CANnucleo by
Diff: stm32f1xx_hal_msp.c
- Revision:
- 12:c45310ff2233
- Parent:
- 11:439f3a34c42e
- Child:
- 14:0344705e6fb8
diff -r 439f3a34c42e -r c45310ff2233 stm32f1xx_hal_msp.c --- 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); }