feat: added ntp server and timezone settings

This commit is contained in:
Yurii
2025-01-30 01:25:05 +03:00
parent cc2d6ef385
commit 3bc9fa81a8
10 changed files with 562 additions and 0 deletions

View File

@@ -36,6 +36,11 @@ struct Settings {
unsigned short port = DEFAULT_TELNET_PORT;
} telnet;
struct {
char server[49] = "pool.ntp.org";
char timezone[49] = "UTC0";
} ntp;
UnitSystem unitSystem = UnitSystem::METRIC;
byte statusLedGpio = DEFAULT_STATUS_LED_GPIO;
} system;