From d5309e93621831bb9be5c68596ea54db6dc5fb9c Mon Sep 17 00:00:00 2001 From: Guillermo Maturana Date: Fri, 22 Nov 2024 15:35:26 -0800 Subject: [PATCH] [sival,rstmgr] Remove workaround for #13098 Signed-off-by: Guillermo Maturana --- sw/device/tests/rstmgr_alert_info_test.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sw/device/tests/rstmgr_alert_info_test.c b/sw/device/tests/rstmgr_alert_info_test.c index 40f840be95123..6a5f9ffc6e810 100644 --- a/sw/device/tests/rstmgr_alert_info_test.c +++ b/sw/device/tests/rstmgr_alert_info_test.c @@ -754,8 +754,7 @@ bool test_main(void) { LOG_INFO("reset info = 0x%02X", rst_info); global_alert_called = 0; - // TODO(#13098): Change to equality after #13277 is merged. - if (rst_info & kDifRstmgrResetInfoPor) { + if (rst_info == kDifRstmgrResetInfoPor) { // Initialize the counter. Upon POR they have random values. CHECK_STATUS_OK(ret_sram_testutils_counter_clear(kEventCounter)); CHECK_STATUS_OK(ret_sram_testutils_counter_get(kEventCounter, &event_idx));