mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-18 22:05:17 +03:00
@jflyper gave a recommendation to improve PR #3568 to remove hardcoded strings for firmware revision--implemented.
~ Charlie Stevenson
This commit is contained in:
parent
78ded9e6f7
commit
3c010c98d0
1 changed files with 9 additions and 9 deletions
|
@ -572,20 +572,20 @@ static void showDebugPage(void)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static const pageEntry_t pages[PAGE_COUNT] = {
|
static const pageEntry_t pages[PAGE_COUNT] = {
|
||||||
{ PAGE_WELCOME, "BETAFLIGHT", showWelcomePage, PAGE_FLAGS_SKIP_CYCLING },
|
{ PAGE_WELCOME, FC_FIRMWARE_NAME, showWelcomePage, PAGE_FLAGS_SKIP_CYCLING },
|
||||||
{ PAGE_ARMED, "ARMED", showArmedPage, PAGE_FLAGS_SKIP_CYCLING },
|
{ PAGE_ARMED, "ARMED", showArmedPage, PAGE_FLAGS_SKIP_CYCLING },
|
||||||
{ PAGE_PROFILE, "PROFILE", showProfilePage, PAGE_FLAGS_NONE },
|
{ PAGE_PROFILE, "PROFILE", showProfilePage, PAGE_FLAGS_NONE },
|
||||||
#ifdef GPS
|
#ifdef GPS
|
||||||
{ PAGE_GPS, "GPS", showGpsPage, PAGE_FLAGS_NONE },
|
{ PAGE_GPS, "GPS", showGpsPage, PAGE_FLAGS_NONE },
|
||||||
#endif
|
#endif
|
||||||
{ PAGE_RX, "RX", showRxPage, PAGE_FLAGS_NONE },
|
{ PAGE_RX, "RX", showRxPage, PAGE_FLAGS_NONE },
|
||||||
{ PAGE_BATTERY, "BATTERY", showBatteryPage, PAGE_FLAGS_NONE },
|
{ PAGE_BATTERY, "BATTERY", showBatteryPage, PAGE_FLAGS_NONE },
|
||||||
{ PAGE_SENSORS, "SENSORS", showSensorsPage, PAGE_FLAGS_NONE },
|
{ PAGE_SENSORS, "SENSORS", showSensorsPage, PAGE_FLAGS_NONE },
|
||||||
#ifndef SKIP_TASK_STATISTICS
|
#ifndef SKIP_TASK_STATISTICS
|
||||||
{ PAGE_TASKS, "TASKS", showTasksPage, PAGE_FLAGS_NONE },
|
{ PAGE_TASKS, "TASKS", showTasksPage, PAGE_FLAGS_NONE },
|
||||||
#endif
|
#endif
|
||||||
#ifdef ENABLE_DEBUG_DASHBOARD_PAGE
|
#ifdef ENABLE_DEBUG_DASHBOARD_PAGE
|
||||||
{ PAGE_DEBUG, "DEBUG", showDebugPage, PAGE_FLAGS_NONE },
|
{ PAGE_DEBUG, "DEBUG", showDebugPage, PAGE_FLAGS_NONE },
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue