esp_hw_support: Fix time spent in light sleep when RTC is used for gettimeofday

The esp_timer was not advanced correctly.
This commit is contained in:
KonstantinKondrashov
2022-04-12 01:50:08 +08:00
parent 466e8702b8
commit 1e0eef52d3
4 changed files with 27 additions and 8 deletions

View File

@@ -30,6 +30,13 @@ ONE_SHOT_TIMER_PERIOD = 5000000
@pytest.mark.supported_targets
@pytest.mark.generic
@pytest.mark.parametrize(
'config',
[
'rtc',
],
indirect=True
)
def test_esp_timer(dut: Dut) -> None:
match = dut.expect(STARTING_TIMERS_REGEX)