Warnings removed
This commit is contained in:
@@ -612,3 +612,14 @@ void menuMainView(event_t event)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#undef EVT_KEY_CONTEXT_MENU
|
||||||
|
#undef EVT_KEY_PREVIOUS_VIEW
|
||||||
|
#undef EVT_KEY_NEXT_VIEW
|
||||||
|
#undef EVT_KEY_NEXT_PAGE
|
||||||
|
#undef EVT_KEY_PREVIOUS_PAGE
|
||||||
|
#undef EVT_KEY_MODEL_MENU
|
||||||
|
#undef EVT_KEY_GENERAL_MENU
|
||||||
|
#undef EVT_KEY_LAST_MENU
|
||||||
|
#undef EVT_KEY_TELEMETRY
|
||||||
|
#undef EVT_KEY_STATISTICS
|
||||||
|
|||||||
@@ -573,3 +573,5 @@ void menuViewTelemetryFrsky(event_t event)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#undef EVT_KEY_PREVIOUS_VIEW
|
||||||
|
#undef EVT_KEY_NEXT_VIEW
|
||||||
|
|||||||
@@ -101,7 +101,7 @@ void readTextFile(int & lines_count)
|
|||||||
#define EVT_KEY_NEXT_LINE EVT_KEY_FIRST(KEY_DOWN)
|
#define EVT_KEY_NEXT_LINE EVT_KEY_FIRST(KEY_DOWN)
|
||||||
#define EVT_KEY_PREVIOUS_LINE EVT_KEY_FIRST(KEY_UP)
|
#define EVT_KEY_PREVIOUS_LINE EVT_KEY_FIRST(KEY_UP)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void menuTextView(event_t event)
|
void menuTextView(event_t event)
|
||||||
{
|
{
|
||||||
static int lines_count;
|
static int lines_count;
|
||||||
@@ -159,3 +159,6 @@ void pushMenuTextView(const char *filename)
|
|||||||
pushMenu(menuTextView);
|
pushMenu(menuTextView);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#undef EVT_KEY_NEXT_LINE
|
||||||
|
#undef EVT_KEY_PREVIOUS_LINE
|
||||||
|
|||||||
Reference in New Issue
Block a user