- Add ntp.c to CMakeLists.txt SRCS so it's compiled and linked - Load ntp_server from NVS in load_nvs_config() (default: pool.ntp.org) - Add ntp_server field to spaxel_state_t - Initialize NTP after WiFi connects with 10s sync timeout, WARN on failure - Re-sync NTP after WiFi reconnect (WIFI_LOST state) - Start periodic 10-minute resync timer via esp_timer - Add ntp_synced boolean to health JSON message - Handle ntp_server field in downstream config message - Fix periodic resync callback to properly stop/restart SNTP Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| main | ||
| CMakeLists.txt | ||
| partitions.csv | ||
| sdkconfig.defaults | ||