[CLI] reboot command added
This commit is contained in:
+11
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user