Display error reason on ntp time sync fail

This commit is contained in:
jpirnay
2026-04-20 10:32:52 +02:00
parent f018ad03dd
commit bbafd4ce62
4 changed files with 60 additions and 6 deletions
@@ -19,6 +19,7 @@ class SyncTimeActivity final : public Activity {
time_t prevSyncTime = 0;
int32_t driftSeconds = 0;
bool hadTimeBeforeSync = false;
char syncErrorMsg[64] = {};
void onWifiSelectionComplete(bool success);
void onWifiSelectionCancelled();
void performSync();