Explorar o código

rtc: increase CI acceptance range for calc 8M test

Marius Vikhammer %!s(int64=4) %!d(string=hai) anos
pai
achega
02ce0744f0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      components/soc/esp32/test/test_rtc_clk.c

+ 1 - 1
components/soc/esp32/test/test_rtc_clk.c

@@ -125,7 +125,7 @@ TEST_CASE("Calculate 8M clock frequency", "[rtc_clk]")
     uint32_t rtc_8md256_period = rtc_clk_cal(RTC_CAL_8MD256, 100);
     uint32_t rtc_fast_freq_hz = 1000000ULL * (1 << RTC_CLK_CAL_FRACT) * 256 / rtc_8md256_period;
     printf("RTC_FAST_CLK=%d Hz\n", rtc_fast_freq_hz);
-    TEST_ASSERT_INT32_WITHIN(500000, RTC_FAST_CLK_FREQ_APPROX, rtc_fast_freq_hz);
+    TEST_ASSERT_INT32_WITHIN(650000, RTC_FAST_CLK_FREQ_APPROX, rtc_fast_freq_hz);
 }
 
 TEST_CASE("Test switching between PLL and XTAL", "[rtc_clk]")