From 1f738f5aa440a076774f4617edbc9ff93b75141f Mon Sep 17 00:00:00 2001 From: Diego Basch Date: Fri, 22 Jun 2018 16:56:38 -0700 Subject: [PATCH] rescueYaw should be signed --- src/main/flight/gps_rescue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/flight/gps_rescue.c b/src/main/flight/gps_rescue.c index aeb1f4f9ce..3b089b90e0 100644 --- a/src/main/flight/gps_rescue.c +++ b/src/main/flight/gps_rescue.c @@ -72,7 +72,7 @@ PG_RESET_TEMPLATE(gpsRescueConfig_t, gpsRescueConfig, ); static uint16_t rescueThrottle; -static uint16_t rescueYaw; +static int16_t rescueYaw; int32_t gpsRescueAngle[ANGLE_INDEX_COUNT] = { 0, 0 }; uint16_t hoverThrottle = 0;