Revision efbf7cb1 modules/aos_chconf.h
modules/aos_chconf.h | ||
---|---|---|
646 | 646 |
* the system is halted. |
647 | 647 |
*/ |
648 | 648 |
#define CH_CFG_SYSTEM_HALT_HOOK(reason) { \ |
649 |
extern void aosPrintHaltErrorCode(const char* reason); \ |
|
650 |
aosPrintHaltErrorCode(reason); \ |
|
649 |
/* System halt code here.*/ \ |
|
651 | 650 |
} |
652 | 651 |
|
653 | 652 |
/** |
Also available in: Unified diff