[CLI] reboot command added

This commit is contained in:
Bertrand Songis
2016-02-20 16:55:05 +01:00
parent 0f4f49b64e
commit 67a599e0b9
45 changed files with 920 additions and 605 deletions
+6 -1
View File
@@ -337,12 +337,17 @@ void * main_thread(void *)
menuHandlers[1] = menuModelSelect;
#if defined(COLORLCD)
topbar = new Topbar(&g_model.topbarData);
luaInit();
loadTheme();
// TODO the theme is not initialized, in case of sdcard error, we should have something strange
#endif
storageReadAll(); // load general setup and selected model
#if defined(COLORLCD)
loadTheme();
#endif
#if defined(SIMU_DISKIO)
f_mount(&g_FATFS_Obj, "", 1);
// call sdGetFreeSectors() now because f_getfree() takes a long time first time it's called