1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-18 13:55:18 +03:00

remove enter key from rc_control.c make it target definition only PR

This commit is contained in:
Cheng Lin 2017-08-04 13:29:35 -04:00
parent 72ace4566e
commit f614038c3b

View file

@ -325,8 +325,6 @@ void processRcStickPositions(throttleStatus_e throttleStatus)
cameraControlKeyPress(CAMERA_CONTROL_KEY_DOWN, 0); cameraControlKeyPress(CAMERA_CONTROL_KEY_DOWN, 0);
} else if (rcSticks == THR_LO + YAW_CE + PIT_HI + ROL_CE) { } else if (rcSticks == THR_LO + YAW_CE + PIT_HI + ROL_CE) {
cameraControlKeyPress(CAMERA_CONTROL_KEY_UP, 2000); cameraControlKeyPress(CAMERA_CONTROL_KEY_UP, 2000);
}else if (rcSticks == THR_CE + YAW_HI + PIT_LO + ROL_CE) { //add enter key when it is in the camera osd
cameraControlKeyPress(CAMERA_CONTROL_KEY_ENTER, 0);
} }
#endif #endif
} }