[Taranis] Option to display checklist at startup if present - done here to avoid merge conflicts

This commit is contained in:
Andre Bernet
2013-12-03 23:04:45 +01:00
parent 6749d26333
commit 05fca48115
20 changed files with 38 additions and 3 deletions
+10
View File
@@ -2114,6 +2114,16 @@ void checkAll()
checkTHR();
checkSwitches();
#if defined(PCBTARANIS)
if (modelHasNotes() && g_model.displayText) {
char filename[sizeof(MODELS_PATH)+1+sizeof(g_model.header.name)+sizeof(TEXT_EXT)] = MODELS_PATH "/";
char *buf = strcat_modelname(&filename[sizeof(MODELS_PATH)], g_eeGeneral.currModel);
strcpy(buf, TEXT_EXT);
pushMenuTextView(filename);
}
#endif
clearKeyEvents();
}