mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'test/enlarge_gptimer_test_threshold_v5.1' into 'release/v5.1'
gptimer: enlarge test threshold (v5.1) See merge request espressif/esp-idf!23622
This commit is contained in:
commit
6b86fc7ad7
@ -121,7 +121,7 @@ TEST_CASE("gptimer_wallclock_with_various_clock_sources", "[gptimer]")
|
|||||||
printf("get raw count of gptimer %d: %llu\r\n", i, value);
|
printf("get raw count of gptimer %d: %llu\r\n", i, value);
|
||||||
// convert the raw count to us
|
// convert the raw count to us
|
||||||
value = value * 1000000 / timer_resolution_hz[i];
|
value = value * 1000000 / timer_resolution_hz[i];
|
||||||
TEST_ASSERT_UINT_WITHIN(2000, 40000, value);
|
TEST_ASSERT_UINT_WITHIN(2500, 40000, value);
|
||||||
}
|
}
|
||||||
printf("disable timers\r\n");
|
printf("disable timers\r\n");
|
||||||
for (int i = 0; i < SOC_TIMER_GROUP_TOTAL_TIMERS; i++) {
|
for (int i = 0; i < SOC_TIMER_GROUP_TOTAL_TIMERS; i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user