Cosmetics

This commit is contained in:
Bertrand Songis
2020-01-09 22:50:56 +01:00
parent 40e994dca3
commit fc7fa5fe94
107 changed files with 124 additions and 113 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ void onTelemetryScriptFileSelectionMenu(const char *result)
int screenIndex = DISPLAY_CURRENT_SCREEN(menuVerticalPosition);
if (result == STR_UPDATE_LIST) {
if (!sdListFiles(SCRIPTS_TELEM_PATH, SCRIPTS_EXT, sizeof(g_model.screens[screenIndex].script.file), NULL)) {
if (!sdListFiles(SCRIPTS_TELEM_PATH, SCRIPTS_EXT, sizeof(g_model.screens[screenIndex].script.file), nullptr)) {
POPUP_WARNING(STR_NO_SCRIPTS_ON_SD);
}
}