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

Revert left stick constraints and introduce context

This commit is contained in:
jflyper 2017-07-21 20:38:22 +09:00
parent e955fa9a84
commit 4a2ef89ea8
4 changed files with 17 additions and 6 deletions

View file

@ -34,6 +34,8 @@
#include "config/parameter_group.h"
#include "config/parameter_group_ids.h"
#include "cms/cms.h"
#include "drivers/camera_control.h"
#include "fc/config.h"
@ -124,6 +126,12 @@ void processRcStickPositions(throttleStatus_e throttleStatus)
uint8_t stTmp = 0;
int i;
#ifdef CMS
if (cmsInMenu) {
return;
}
#endif
// ------------------ STICKS COMMAND HANDLER --------------------
// checking sticks positions
for (i = 0; i < 4; i++) {