mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 12:55:19 +03:00
Avoid usage of methods for targets that don't use the display.
This commit is contained in:
parent
774abcfab8
commit
f88bbf4676
1 changed files with 2 additions and 0 deletions
|
@ -250,6 +250,7 @@ void processRcStickPositions(rxConfig_t *rxConfig, throttleStatus_e throttleStat
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef DISPLAY
|
||||||
if (rcSticks == THR_LO + YAW_CE + PIT_HI + ROL_LO) {
|
if (rcSticks == THR_LO + YAW_CE + PIT_HI + ROL_LO) {
|
||||||
displayDisablePageCycling();
|
displayDisablePageCycling();
|
||||||
}
|
}
|
||||||
|
@ -257,6 +258,7 @@ void processRcStickPositions(rxConfig_t *rxConfig, throttleStatus_e throttleStat
|
||||||
if (rcSticks == THR_LO + YAW_CE + PIT_HI + ROL_HI) {
|
if (rcSticks == THR_LO + YAW_CE + PIT_HI + ROL_HI) {
|
||||||
displayEnablePageCycling();
|
displayEnablePageCycling();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue