mirror of
https://github.com/Laxilef/OTGateway.git
synced 2025-12-13 03:34:28 +05:00
feat: added ntp server and timezone settings
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user