diff options
author | Fredrik Thulin <fredrik@thulin.net> | 2016-06-07 10:24:20 +0200 |
---|---|---|
committer | Fredrik Thulin <fredrik@thulin.net> | 2016-06-07 10:24:20 +0200 |
commit | 3277ffbfe960da93c6f617005cc619958ed419d8 (patch) | |
tree | 9cc8b11ae50173f8377674d38eabeceb1be2785b /libraries/mbed | |
parent | ea4eda95284cd3d34b9956bf1e27046a0d8c3cf6 (diff) |
fix some comments
Diffstat (limited to 'libraries/mbed')
2 files changed, 4 insertions, 4 deletions
diff --git a/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_CRYPTECH_ALPHA/stm32f4xx_hal_msp.c b/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_CRYPTECH_ALPHA/stm32f4xx_hal_msp.c index b46b158..fbd0adf 100644 --- a/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_CRYPTECH_ALPHA/stm32f4xx_hal_msp.c +++ b/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_CRYPTECH_ALPHA/stm32f4xx_hal_msp.c @@ -119,7 +119,7 @@ void HAL_UART_MspInit(UART_HandleTypeDef* huart) DMA_Stream_TypeDef *hdma_instance; if (huart->Instance == USART1) { - /* This is huart_mgmt (USER_MGMT) */ + /* This is huart_mgmt (MGMT UART) */ /* Peripheral clock enable */ __USART1_CLK_ENABLE(); @@ -137,7 +137,7 @@ void HAL_UART_MspInit(UART_HandleTypeDef* huart) /* Peripheral DMA init*/ hdma_instance = DMA2_Stream2; } - + else if (huart->Instance == USART2) { /* This is huart_user (USER UART) */ diff --git a/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_CRYPTECH_ALPHA/stm32f4xx_it.c b/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_CRYPTECH_ALPHA/stm32f4xx_it.c index f9f21ef..7c30228 100644 --- a/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_CRYPTECH_ALPHA/stm32f4xx_it.c +++ b/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_CRYPTECH_ALPHA/stm32f4xx_it.c @@ -180,7 +180,7 @@ void USART1_IRQHandler(void) * @brief This function handles UART interrupt request. * @param None * @retval None - * @Note HAL_UART_IRQHandler will call HAL_UART_RxCpltCallback in main.c. + * @Note HAL_UART_IRQHandler will call HAL_UART_RxCpltCallback below. */ void USART2_IRQHandler(void) { @@ -208,7 +208,7 @@ void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart) __weak void HAL_UART1_RxCpltCallback(UART_HandleTypeDef *huart) { /* NOTE: This function Should not be modified, when the callback is needed, - the HAL_UART_TxCpltCallback could be implemented in the user file + the HAL_UART_RxCpltCallback could be implemented in the user file */ } |