mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-08 05:31:25 +00:00
set tz config from string if unset (#4979)
This commit is contained in:
parent
234a56446b
commit
93d874b013
@ -718,6 +718,7 @@ void setup()
|
||||
setenv("TZ", "GMT0", 1);
|
||||
} else {
|
||||
setenv("TZ", (const char *)slipstreamTZString, 1);
|
||||
strcpy(config.device.tzdef, (const char *)slipstreamTZString);
|
||||
}
|
||||
}
|
||||
tzset();
|
||||
|
Loading…
Reference in New Issue
Block a user