Type Alias esp_idf_sys::sntp_sync_time_cb_t
source · pub type sntp_sync_time_cb_t = Option<unsafe extern "C" fn(tv: *mut timeval)>;
Expand description
@brief SNTP callback function for notifying about time sync event
@param tv Time received from SNTP server.
Aliased Type§
enum sntp_sync_time_cb_t {
None,
Some(unsafe extern "C" fn(_: *mut timeval)),
}