1、【修改】废弃的 __get_SP 为 cmb_get_sp 。

Signed-off-by: armink <armink.ztl@gmail.com>
This commit is contained in:
armink
2017-11-04 22:24:27 +08:00
parent 9bdabf06cd
commit 8363ccb913
2 changed files with 2 additions and 2 deletions
@@ -67,7 +67,7 @@ static rt_err_t exception_hook(void *context) {
list_thread();
#endif
cm_backtrace_fault(*((uint32_t *)(__get_SP() + sizeof(uint32_t) * 8)), __get_SP() + sizeof(uint32_t) * 9);
cm_backtrace_fault(*((uint32_t *)(cmb_get_sp() + sizeof(uint32_t) * 8)), cmb_get_sp() + sizeof(uint32_t) * 9);
while (_continue == 1);