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:
gdisirio 2014-02-13 09:49:17 +00:00
parent bb5a512f59
commit 1bdcf39d7b
1 changed files with 3 additions and 1 deletions

View File

@ -333,8 +333,10 @@ typedef struct ch_system {
* @brief Pointer to the panic message.
* @details This pointer is meant to be accessed through the debugger, it is
* 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
#if CH_DBG_SYSTEM_STATE_CHECK || defined(__DOXYGEN__)
/**