[all] Sticks calibration launched automatically when needed

[Taranis] Curves again!
[Taranis] Trainer menu
This commit is contained in:
bsongis@gmail.com
2013-04-24 19:33:56 +00:00
parent f565f3c893
commit 0e824f8e8a
10 changed files with 223 additions and 201 deletions
+2 -10
View File
@@ -260,6 +260,7 @@ void *eeprom_write_function(void *)
uint8_t main_thread_running = 0;
char * main_thread_error = NULL;
extern void opentxStart();
void *main_thread(void *)
{
#ifdef SIMU_EXCEPTIONS
@@ -280,16 +281,7 @@ void *main_thread(void *)
if (g_eeGeneral.backlightMode != e_backlight_mode_off) backlightOn(); // on Tx start turn the light on
if (main_thread_running == 1) {
#if defined(SPLASH)
doSplash();
#endif
#if defined(CPUARM)
eeLoadModel(g_eeGeneral.currModel);
#endif
checkAlarm(); // TODO why not in checkAll()
checkAll();
opentxStart();
}
else {
#if defined(CPUARM)