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:
parent
6836f777a0
commit
303a345fdc
Binary file not shown.
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user