diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-06-23 12:03:00 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-06-23 12:03:00 +0000 |
commit | 2abe2c479f15f9b4c66af007461c1ab2e2626ee0 (patch) | |
tree | d910881cd75bf5d56350c59044dee55226fd93d8 /os/kernel/src | |
parent | 2454bb1133b870cf7ae6efafbca759be917fca5b (diff) | |
download | ChibiOS-2abe2c479f15f9b4c66af007461c1ab2e2626ee0.tar.gz ChibiOS-2abe2c479f15f9b4c66af007461c1ab2e2626ee0.tar.bz2 ChibiOS-2abe2c479f15f9b4c66af007461c1ab2e2626ee0.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4328 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/kernel/src')
-rw-r--r-- | os/kernel/src/chdebug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/kernel/src/chdebug.c b/os/kernel/src/chdebug.c index 0bee1b4ea..55631481f 100644 --- a/os/kernel/src/chdebug.c +++ b/os/kernel/src/chdebug.c @@ -254,14 +254,14 @@ void dbg_trace(Thread *otp) { * @details This pointer is meant to be accessed through the debugger, it is
* written once and then the system is halted.
*/
-char *dbg_panic_msg;
+const char *dbg_panic_msg;
/**
* @brief Prints a panic message on the console and then halts the system.
*
* @param[in] msg the pointer to the panic message string
*/
-void chDbgPanic(char *msg) {
+void chDbgPanic(const char *msg) {
dbg_panic_msg = msg;
chSysHalt();
|