MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / init

Function init

Tactility/Source/network/Ntp.cpp:50–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50void init() {
51 setTimeFromNvs();
52
53 esp_sntp_config_t config = ESP_NETIF_SNTP_DEFAULT_CONFIG("time.cloudflare.com");
54 config.sync_cb = onTimeSynced;
55 esp_netif_sntp_init(&config);
56}
57
58#else
59

Callers

nothing calls this directly

Calls 1

setTimeFromNvsFunction · 0.85

Tested by

no test coverage detected