1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-23 08:15:17 +03:00

Menu length increased on Taranis to allow backups with date in the

filename
This commit is contained in:
bsongis 2014-06-22 09:29:12 +02:00
parent e3b8e91a0a
commit ffd4151029
2 changed files with 6 additions and 2 deletions

View file

@ -308,7 +308,7 @@ void onModelSelectMenu(const char *result)
POPUP_WARNING(eeBackupModel(sub));
}
else if (result == STR_RESTORE_MODEL || result == STR_UPDATE_LIST) {
if (!listSdFiles(MODELS_PATH, MODELS_EXT, sizeof(g_model.header.name), NULL)) {
if (!listSdFiles(MODELS_PATH, MODELS_EXT, MENU_LINE_LENGTH-1, NULL)) {
POPUP_WARNING(STR_NO_MODELS_ON_SD);
s_menu_flags = 0;
}