Merge pull request #104 from visitor83/gdb

indent format cortex-m3/cpuport.c, thank peter.uboot@gmail.com
This commit is contained in:
Bernard Xiong 2013-06-16 00:03:45 -07:00
commit 4d70222c71
1 changed files with 11 additions and 9 deletions

View File

@ -117,7 +117,8 @@ void rt_hw_hard_fault_exception(struct exception_stack_frame* context)
rt_err_t result;
result = rt_exception_hook(context);
if (result == RT_EOK) return;
if (result == RT_EOK)
return;
}
rt_kprintf("psr: 0x%08x\n", context->psr);
@ -135,7 +136,8 @@ void rt_hw_hard_fault_exception(struct exception_stack_frame* context)
list_thread();
#endif
while (1);
while (1)
;
}
/**