Sub: Fixed joystick button persistance issue.

This commit is contained in:
Rustom Jehangir 2016-01-20 21:24:26 -08:00 committed by Andrew Tridgell
parent 511a87c066
commit 2837fac593

View File

@ -148,7 +148,7 @@ void Sub::transform_manual_control_to_rc_override(int16_t x, int16_t y, int16_t
float throttleScale = 0.8;
int16_t rpyCenter = 1500;
int16_t throttleBase = 1500-500*throttleScale;
int16_t mode;
static int16_t mode;
static int16_t camTilt = 1500;