1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 12:55:19 +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,9 +325,7 @@ void processRcStickPositions(throttleStatus_e throttleStatus)
cameraControlKeyPress(CAMERA_CONTROL_KEY_DOWN, 0);
} else if (rcSticks == THR_LO + YAW_CE + PIT_HI + ROL_CE) {
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
}