[Taranis] Text display menu entry was inoperative
This commit is contained in:
@@ -706,6 +706,7 @@ void onSdManagerMenu(const char *result)
|
|||||||
strcat(lfn, reusableBuffer.sdmanager.lines[index]);
|
strcat(lfn, reusableBuffer.sdmanager.lines[index]);
|
||||||
luaExec(lfn);
|
luaExec(lfn);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
else if (result == STR_VIEW_TEXT) {
|
else if (result == STR_VIEW_TEXT) {
|
||||||
f_getcwd(lfn, _MAX_LFN);
|
f_getcwd(lfn, _MAX_LFN);
|
||||||
strcat(lfn, "/");
|
strcat(lfn, "/");
|
||||||
@@ -713,7 +714,6 @@ void onSdManagerMenu(const char *result)
|
|||||||
pushMenuTextView(lfn);
|
pushMenuTextView(lfn);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void menuGeneralSdManager(uint8_t _event)
|
void menuGeneralSdManager(uint8_t _event)
|
||||||
|
|||||||
Reference in New Issue
Block a user