Companion9x didn't simulate a single the model in ModelEdit (open9x / sky9x board)

This commit is contained in:
bsongis
2013-02-13 06:58:31 +00:00
parent e616c4674d
commit 93ca2436b1
2 changed files with 9 additions and 4 deletions
+2 -2
View File
@@ -3505,7 +3505,7 @@ inline void open9xInit(OPEN9X_INIT_ARGS)
if (UNEXPECTED_SHUTDOWN()) {
unexpectedShutdown = 1;
#if defined(CPUARM)
#if defined(PCBSKY9X)
eeLoadModel(g_eeGeneral.currModel);
#endif
}
@@ -3518,7 +3518,7 @@ inline void open9xInit(OPEN9X_INIT_ARGS)
}
#endif
#if defined(CPUARM)
#if defined(PCBSKY9X)
eeLoadModel(g_eeGeneral.currModel);
#endif
+7 -2
View File
@@ -281,13 +281,18 @@ void *main_thread(void *)
doSplash();
#endif
#if defined(CPUARM)
#if defined(PCBSKY9X)
eeLoadModel(g_eeGeneral.currModel);
#endif
checkAlarm();
checkAlarm(); // TODO why not in checkAll()
checkAll();
}
else {
#if defined(PCBSKY9X)
eeLoadModel(g_eeGeneral.currModel);
#endif
}
s_current_protocol = 0;