File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
components/esp_driver_gptimer/test_apps/gptimer/main Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ static void test_gptimer_sleep_retention(bool allow_pd)
8585
8686 printf ("check if the sleep happened as expected\r\n" );
8787 TEST_ASSERT_EQUAL (0 , sleep_ctx .sleep_request_result );
88- #if SOC_RMT_SUPPORT_SLEEP_RETENTION
88+ #if SOC_TIMER_SUPPORT_SLEEP_RETENTION && CONFIG_PM_POWER_DOWN_PERIPHERAL_IN_LIGHT_SLEEP
8989 // check if the power domain also is powered down
9090 TEST_ASSERT_EQUAL (allow_pd ? PMU_SLEEP_PD_TOP : 0 , (sleep_ctx .sleep_flags ) & PMU_SLEEP_PD_TOP );
9191#endif
@@ -202,7 +202,7 @@ static void test_gptimer_etm_sleep_retention(bool back_up_before_sleep)
202202
203203 printf ("check if the sleep happened as expected\r\n" );
204204 TEST_ASSERT_EQUAL (0 , sleep_ctx .sleep_request_result );
205- #if SOC_RMT_SUPPORT_SLEEP_RETENTION
205+ #if SOC_TIMER_SUPPORT_SLEEP_RETENTION && CONFIG_PM_POWER_DOWN_PERIPHERAL_IN_LIGHT_SLEEP
206206 // check if the power domain also is powered down
207207 TEST_ASSERT_EQUAL (back_up_before_sleep ? PMU_SLEEP_PD_TOP : 0 , (sleep_ctx .sleep_flags ) & PMU_SLEEP_PD_TOP );
208208#endif
You can’t perform that action at this time.
0 commit comments