Skip to content

Commit 833ca0b

Browse files
Marcin TomczykSeppo Takalo
authored andcommitted
[DISCO_L475VG_IOT01A] Every first boot after 2nd storage erase fails. Checked reset reson up to watchdog or higher
1 parent 2f42f50 commit 833ca0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/upgrade.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ bool hwResetReason(void) {
318318
#if DEVICE_RESET_REASON
319319
reset_reason_t reason = hal_reset_reason_get();
320320

321-
if(reason < RESET_REASON_SOFTWARE) {
321+
if(reason < RESET_REASON_WATCHDOG) {
322322
return true;
323323
}
324324
else {

0 commit comments

Comments
 (0)