1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-26 01:35:41 +03:00

Improved consistency of update fn naming. GPS update tidy.

This commit is contained in:
Martin Budden 2016-10-16 08:06:31 +01:00
parent 1d6240c9d5
commit c0d87ca657
12 changed files with 34 additions and 37 deletions

View file

@ -582,7 +582,7 @@ void showDebugPage(void)
}
#endif
void updateDisplay(uint32_t currentTime)
void displayUpdate(uint32_t currentTime)
{
static uint8_t previousArmedState = 0;
@ -702,7 +702,7 @@ void displayInit(rxConfig_t *rxConfigToUse)
memset(&pageState, 0, sizeof(pageState));
displaySetPage(PAGE_WELCOME);
updateDisplay(micros());
displayUpdate(micros());
displaySetNextPageChangeAt(micros() + (1000 * 1000 * 5));
}