config: Fix issue where menu_tree would be always NULL

This commit is contained in:
mintsuki 2021-04-20 10:16:43 +02:00
parent 48c6d45c11
commit f2505f4169

View File

@ -137,10 +137,10 @@ int init_config(size_t config_size) {
} }
} }
menu_tree = create_menu_tree(NULL, 1, 0);
config_ready = true; config_ready = true;
menu_tree = create_menu_tree(NULL, 1, 0);
return 0; return 0;
} }