기타
This commit is contained in:
@@ -100,11 +100,11 @@ __WEAK void app_error_fault_handler(uint32_t id, uint32_t pc, uint32_t info)
|
||||
NRF_BREAKPOINT_COND;
|
||||
// On assert, the system can only recover with a reset.
|
||||
|
||||
#ifndef DEBUG
|
||||
#ifndef DEBUG // DEBUG 모드가 아닌 경우 = RELEASE 모드인 경우
|
||||
NRF_LOG_WARNING("System reset");
|
||||
NVIC_SystemReset();
|
||||
#else
|
||||
#else // DEBUG 모드인 경우
|
||||
app_error_save_and_stop(id, pc, info);
|
||||
#endif // DEBUG
|
||||
#endif
|
||||
}
|
||||
/*lint -restore */
|
||||
|
||||
Reference in New Issue
Block a user