aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/osal/chibios/osal.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/osal/chibios/osal.c')
-rw-r--r--os/hal/osal/chibios/osal.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/os/hal/osal/chibios/osal.c b/os/hal/osal/chibios/osal.c
index ed291880b..52fc27041 100644
--- a/os/hal/osal/chibios/osal.c
+++ b/os/hal/osal/chibios/osal.c
@@ -36,13 +36,6 @@
/* Module exported variables. */
/*===========================================================================*/
-/**
- * @brief Pointer to a halt error message.
- * @note The message is meant to be retrieved by the debugger after the
- * system halt caused by an unexpected error.
- */
-const char *osal_halt_msg;
-
/*===========================================================================*/
/* Module local types. */
/*===========================================================================*/
@@ -59,26 +52,4 @@ const char *osal_halt_msg;
/* Module exported functions. */
/*===========================================================================*/
-/**
- * @brief OSAL module initialization.
- *
- * @api
- */
-void osalInit(void) {
-
-}
-
-/**
- * @brief System halt with error message.
- *
- * @param[in] reason the halt message pointer
- *
- * @api
- */
-void osalSysHalt(const char *reason) {
-
- osal_halt_msg = reason;
- chSysHalt();
-}
-
/** @} */