mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
fix(driver): fix retention unsupported mouldes TOP pd test
This commit is contained in:
@@ -125,7 +125,7 @@ static void test_pcnt_sleep_retention(void)
|
||||
TEST_ESP_OK(pcnt_unit_get_count(units[i], &count_value));
|
||||
TEST_ASSERT_EQUAL(20, count_value);
|
||||
// check the register value
|
||||
reg_value = pcnt_ll_get_count(&PCNT, i);
|
||||
reg_value = pcnt_ll_get_count(PCNT_LL_GET_HW(unit_config.group_id), i);
|
||||
TEST_ASSERT_EQUAL(20, reg_value);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user