aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/LPC/LPC214x/spi_lld.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/ports/LPC/LPC214x/spi_lld.h')
-rw-r--r--os/hal/ports/LPC/LPC214x/spi_lld.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/LPC/LPC214x/spi_lld.h b/os/hal/ports/LPC/LPC214x/spi_lld.h
index d0455f359..6f95cddfa 100644
--- a/os/hal/ports/LPC/LPC214x/spi_lld.h
+++ b/os/hal/ports/LPC/LPC214x/spi_lld.h
@@ -61,7 +61,7 @@
* @details The default action is to stop the system.
*/
#if !defined(LPC214x_SPI_SSP_ERROR_HOOK) || defined(__DOXYGEN__)
-#define LPC214x_SPI_SSP_ERROR_HOOK() chSysHalt()
+#define LPC214x_SPI_SSP_ERROR_HOOK() osalSysHalt()
#endif
/*===========================================================================*/