nyx: Add time offset

The epoch is based on HOS format.

An automatic time set will be implemented in a later version.
This commit is contained in:
CTCaer
2020-04-30 14:51:48 +03:00
parent 6d75f96ed5
commit c072041039
4 changed files with 12 additions and 1 deletions

View File

@@ -264,6 +264,8 @@ void load_saved_configuration()
{
if (!strcmp("themecolor", kv->key))
n_cfg.themecolor = atoi(kv->val);
else if (!strcmp("timeoff", kv->key))
n_cfg.timeoff = strtol(kv->val, NULL, 16);
else if (!strcmp("homescreen", kv->key))
n_cfg.home_screen = atoi(kv->val);
else if (!strcmp("verification", kv->key))