mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 12:55:19 +03:00
Renamed display to dashboard
This commit is contained in:
parent
229d47943e
commit
5bc1105871
16 changed files with 70 additions and 76 deletions
|
@ -44,7 +44,7 @@
|
|||
#include "io/beeper.h"
|
||||
#include "io/motors.h"
|
||||
#include "io/vtx.h"
|
||||
#include "io/display.h"
|
||||
#include "io/dashboard.h"
|
||||
|
||||
#include "sensors/barometer.h"
|
||||
#include "sensors/battery.h"
|
||||
|
@ -291,13 +291,13 @@ void processRcStickPositions(rxConfig_t *rxConfig, throttleStatus_e throttleStat
|
|||
return;
|
||||
}
|
||||
|
||||
#ifdef DISPLAY
|
||||
#ifdef USE_DASHBOARD
|
||||
if (rcSticks == THR_LO + YAW_CE + PIT_HI + ROL_LO) {
|
||||
displayDisablePageCycling();
|
||||
dashboardDisablePageCycling();
|
||||
}
|
||||
|
||||
if (rcSticks == THR_LO + YAW_CE + PIT_HI + ROL_HI) {
|
||||
displayEnablePageCycling();
|
||||
dashboardEnablePageCycling();
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue