[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
+11 -1
View File
@@ -2469,15 +2469,25 @@ uint16_t stackAvailable()
void opentxInit(OPENTX_INIT_ARGS)
{
#if defined(DEBUG) && defined(USB_SERIAL)
CoTickDelay(5000); // 10s
#endif
TRACE("opentxInit()");
sdInit();
#if defined(COLORLCD)
topbar = new Topbar(&g_model.topbarData);
luaInit();
loadTheme();
#endif
storageReadAll();
#if defined(COLORLCD)
loadTheme();
#endif
#if defined(CPUARM)
if (UNEXPECTED_SHUTDOWN()) {
unexpectedShutdown = 1;