some clarity
This commit is contained in:
rusefi 2018-03-24 22:05:08 -04:00
parent 8fb129469b
commit 3983c71d66
1 changed files with 6 additions and 1 deletions

View File

@ -503,13 +503,18 @@
/* System tick event code here.*/ \ /* System tick event code here.*/ \
} }
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
/** /**
* @brief System halt hook. * @brief System halt hook.
* @details This hook is invoked in case to a system halting error before * @details This hook is invoked in case to a system halting error before
* the system is halted. * the system is halted.
*/ */
#define CH_CFG_SYSTEM_HALT_HOOK(reason) { \ #define CH_CFG_SYSTEM_HALT_HOOK(reason) { \
/* System halt code here.*/ \ printf("chSysHalt\r\n"); \
exit(-1); \
} }
/** /**