Hi,
If the following function is used, how to solve this error:
#include <nrfx_reset_reason.h>
void check_and_clear_reset_reason(void)
{
// 获取复位原因
uint32_t reason = nrfx_reset_reason_get();
// 清除所有已检测到的复位原因
nrfx_reset_reason_clear(reason);
}
Kind regards,
Peter.Min
Peter.Min