mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 05:15:25 +03:00
Preparation for conversion to parameter groups 13
This commit is contained in:
parent
e74c7b8c93
commit
3275105127
20 changed files with 156 additions and 152 deletions
|
@ -84,7 +84,6 @@ controlRateConfig_t *getControlRateConfig(uint8_t profileIndex);
|
|||
static uint32_t nextDisplayUpdateAt = 0;
|
||||
static bool dashboardPresent = false;
|
||||
|
||||
static rxConfig_t *rxConfig;
|
||||
static displayPort_t *displayPort;
|
||||
|
||||
#define PAGE_TITLE_LINE_COUNT 1
|
||||
|
@ -701,7 +700,7 @@ void dashboardSetPage(pageId_e pageId)
|
|||
pageState.pageFlags |= PAGE_STATE_FLAG_FORCE_PAGE_CHANGE;
|
||||
}
|
||||
|
||||
void dashboardInit(rxConfig_t *rxConfigToUse)
|
||||
void dashboardInit(void)
|
||||
{
|
||||
delay(200);
|
||||
resetDisplay();
|
||||
|
@ -714,8 +713,6 @@ void dashboardInit(rxConfig_t *rxConfigToUse)
|
|||
}
|
||||
#endif
|
||||
|
||||
rxConfig = rxConfigToUse;
|
||||
|
||||
memset(&pageState, 0, sizeof(pageState));
|
||||
dashboardSetPage(PAGE_WELCOME);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue