diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-08-17 11:52:50 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-08-17 11:52:50 +0000 |
commit | 155ef8ed75b12442fde1d80e4ca880d0e7f7c1f1 (patch) | |
tree | cb27035ab0b6a7c157f992d9edb6a2c7c5d669e9 /os/hal/platforms/STM32/USARTv2 | |
parent | 120b97e07051b35a67be2a173b51b7edc2a0ae19 (diff) | |
download | ChibiOS-155ef8ed75b12442fde1d80e4ca880d0e7f7c1f1.tar.gz ChibiOS-155ef8ed75b12442fde1d80e4ca880d0e7f7c1f1.tar.bz2 ChibiOS-155ef8ed75b12442fde1d80e4ca880d0e7f7c1f1.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6169 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32/USARTv2')
-rw-r--r-- | os/hal/platforms/STM32/USARTv2/uart_lld.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/platforms/STM32/USARTv2/uart_lld.h b/os/hal/platforms/STM32/USARTv2/uart_lld.h index 6d44af0ba..c34123aca 100644 --- a/os/hal/platforms/STM32/USARTv2/uart_lld.h +++ b/os/hal/platforms/STM32/USARTv2/uart_lld.h @@ -123,7 +123,7 @@ * error can only happen because programming errors.
*/
#if !defined(STM32_UART_DMA_ERROR_HOOK) || defined(__DOXYGEN__)
-#define STM32_UART_DMA_ERROR_HOOK(uartp) chSysHalt()
+#define STM32_UART_DMA_ERROR_HOOK(uartp) osalSysHalt("DMA failure")
#endif
#if STM32_ADVANCED_DMA || defined(__DOXYGEN__)
|