1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 14:25:20 +03:00

Enable/Disable LCD page cycling using stick combos.

This commit is contained in:
Dominic Clifton 2015-02-22 14:01:38 +00:00
parent c6d71f148d
commit 4a1b27443f
2 changed files with 13 additions and 0 deletions

View file

@ -47,6 +47,8 @@
#include "io/rc_controls.h"
#include "io/rc_curves.h"
#include "io/display.h"
#include "flight/pid.h"
#include "flight/navigation.h"
@ -247,6 +249,15 @@ void processRcStickPositions(rxConfig_t *rxConfig, throttleStatus_e throttleStat
rcDelayCommand = 0; // allow autorepetition
return;
}
if (rcSticks == THR_LO + YAW_CE + PIT_HI + ROL_LO) {
displayDisablePageCycling();
}
if (rcSticks == THR_LO + YAW_CE + PIT_HI + ROL_HI) {
displayEnablePageCycling();
}
}
bool isRangeActive(uint8_t auxChannelIndex, channelRange_t *range) {