[Taranis] Text display menu entry was inoperative

This commit is contained in:
Andre Bernet
2013-11-30 11:51:11 +01:00
parent 6e310b922d
commit d563f64fe3
+1 -1
View File
@@ -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)