Fix issue with timer usage in FreeRTOS tests

pull/4494/head
Mahavir Jain 2019-12-07 22:52:35 +05:30
rodzic 489c815eb8
commit a737fd4865
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -124,7 +124,6 @@ void IRAM_ATTR timer_group0_isr(void *vp_arg)
{
// Clear interrupt
timer_group_clr_intr_status_in_isr(TIMER_GROUP_0, TIMER_0);
timer_group_clr_intr_status_in_isr(TIMER_GROUP_0, TIMER_1);
timer_isr_fired = true;
TaskHandle_t handle = vp_arg;
@ -170,6 +169,7 @@ static void test_resume_task_from_isr(int target_core)
vTaskDelay(1);
timer_deinit(TIMER_GROUP_0, TIMER_0);
TEST_ASSERT_TRUE(timer_isr_fired);
TEST_ASSERT_TRUE(resumed);
}