aboutsummaryrefslogtreecommitdiff
path: root/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_CRYPTECH_ALPHA/stm32f4xx_it.c
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_CRYPTECH_ALPHA/stm32f4xx_it.c')
-rw-r--r--libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_CRYPTECH_ALPHA/stm32f4xx_it.c6
1 files changed, 6 insertions, 0 deletions
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 b8b6fce..81b27cb 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
@@ -150,6 +150,7 @@ __weak void HAL_UART1_RxCpltCallback(UART_HandleTypeDef *huart)
/* NOTE: This function Should not be modified, when the callback is needed,
the HAL_UART1_RxCpltCallback could be implemented in the user file
*/
+ huart = huart;
}
__weak void HAL_UART2_RxCpltCallback(UART_HandleTypeDef *huart)
@@ -157,6 +158,7 @@ __weak void HAL_UART2_RxCpltCallback(UART_HandleTypeDef *huart)
/* NOTE: This function Should not be modified, when the callback is needed,
the HAL_UART2_RxCpltCallback could be implemented in the user file
*/
+ huart = huart;
}
/**
@@ -182,6 +184,7 @@ __weak void HAL_UART1_RxHalfCpltCallback(UART_HandleTypeDef *huart)
/* NOTE: This function Should not be modified, when the callback is needed,
the HAL_UART1_RxHalfCpltCallback could be implemented in the user file
*/
+ huart = huart;
}
__weak void HAL_UART2_RxHalfCpltCallback(UART_HandleTypeDef *huart)
@@ -189,10 +192,13 @@ __weak void HAL_UART2_RxHalfCpltCallback(UART_HandleTypeDef *huart)
/* NOTE: This function Should not be modified, when the callback is needed,
the HAL_UART2_RxHalfCpltCallback could be implemented in the user file
*/
+ huart = huart;
}
void HAL_UART_ErrorCallback(UART_HandleTypeDef *huart)
{
+ huart = huart;
+
/* I dunno, just trap it for now */
Error_Handler();
}