1
0
mirror of https://github.com/whowechina/chu_pico.git synced 2024-11-11 22:47:09 +01:00

Fix level not saved

This commit is contained in:
whowechina 2024-09-01 13:23:43 +08:00
parent 6836f777a0
commit 303a345fdc
2 changed files with 0 additions and 4 deletions

Binary file not shown.

View File

@ -48,10 +48,6 @@ chu_runtime_t chu_runtime;
static void config_loaded()
{
if (chu_cfg->style.level > 10) {
chu_cfg->style.level = default_cfg.style.level;
config_changed();
}
if ((chu_cfg->tof.offset < 40) ||
(chu_cfg->tof.pitch < 4) || (chu_cfg->tof.pitch > 50)) {
chu_cfg->tof = default_cfg.tof;