git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6710 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
bb5a512f59
commit
1bdcf39d7b
|
@ -333,8 +333,10 @@ typedef struct ch_system {
|
||||||
* @brief Pointer to the panic message.
|
* @brief Pointer to the panic message.
|
||||||
* @details This pointer is meant to be accessed through the debugger, it is
|
* @details This pointer is meant to be accessed through the debugger, it is
|
||||||
* written once and then the system is halted.
|
* written once and then the system is halted.
|
||||||
|
* @note Accesses to this pointer must never be optimized out so the
|
||||||
|
* field itself is declared volatile.
|
||||||
*/
|
*/
|
||||||
const char *dbg_panic_msg;
|
const char * volatile dbg_panic_msg;
|
||||||
#endif
|
#endif
|
||||||
#if CH_DBG_SYSTEM_STATE_CHECK || defined(__DOXYGEN__)
|
#if CH_DBG_SYSTEM_STATE_CHECK || defined(__DOXYGEN__)
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue