bootloader: Add animated ticker for VOL- wait

Now an animated line is drawn while bootlogo wait is active.
This will remind user to press VOL- if needed and also give visible feedback.

A new config key was added to disable it for custom bootlogos. Set `noticker=1` in `[config]` section.
It always show for default hekate one.

For now now there's no GUI option for it.
This commit is contained in:
CTCaer
2022-10-11 07:49:17 +03:00
parent 9c1238f99d
commit 414721a1ff
11 changed files with 487 additions and 340 deletions

View File

@@ -233,6 +233,8 @@ static void _load_saved_configuration()
if (h_cfg.backlight <= 20)
h_cfg.backlight = 30;
}
else if (!strcmp("noticker", kv->key))
h_cfg.noticker = atoi(kv->val);
else if (!strcmp("autohosoff", kv->key))
h_cfg.autohosoff = atoi(kv->val);
else if (!strcmp("autonogc", kv->key))