Home
last modified time | relevance | path

Searched refs:error_time (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-3.6.0/examples/protocols/sntp/main/
Dsntp_example_main.c74 int64_t error_time = cpu_time + 500 * 1000L; in app_main() local
75 … struct timeval tv_error = { .tv_sec = error_time / 1000000L, .tv_usec = error_time % 1000000L }; in app_main()
/hal_espressif-3.6.0/components/newlib/test/
Dtest_time.c564 static void set_initial_condition(type_reboot_t type_reboot, int error_time) in set_initial_condition() argument
574 int delay_s = abs(error_time) * 2; in set_initial_condition()
580 printf("FRC counter increased to %d (s)\n", error_time); in set_initial_condition()
581 esp_timer_private_advance(error_time * 1000000ULL); in set_initial_condition()
590 TEST_ASSERT_GREATER_OR_EQUAL(error_time, dt); in set_initial_condition()