Skip to content

Commit

Permalink
Merge pull request betaflight#3755 from bnn1044/Camera_control
Browse files Browse the repository at this point in the history
ADD CAMERA_CONTROL ENTER KEY TO THROTTLE CENTER, YAW HI
  • Loading branch information
martinbudden authored Aug 24, 2017
2 parents 66785f4 + 9702b53 commit dfe868e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/fc/rc_controls.c
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ void processRcStickPositions(throttleStatus_e throttleStatus)
#endif

#ifdef USE_CAMERA_CONTROL
if (rcSticks == THR_LO + YAW_CE + PIT_LO + ROL_CE) {
if (rcSticks == THR_CE + YAW_HI + PIT_CE + ROL_CE) {
cameraControlKeyPress(CAMERA_CONTROL_KEY_ENTER, 0);
} else if (rcSticks == THR_CE + YAW_CE + PIT_CE + ROL_LO) {
cameraControlKeyPress(CAMERA_CONTROL_KEY_LEFT, 0);
Expand Down

0 comments on commit dfe868e

Please sign in to comment.