diff --git a/obj/baseflight.hex b/obj/baseflight.hex index ff6e7a864..49f4828bc 100644 --- a/obj/baseflight.hex +++ b/obj/baseflight.hex @@ -250,7 +250,7 @@ :100F800072733A2025640D0A000000004166726FFA :100F9000333220434C492076657273696F6E20327C :100FA0002E31204A616E2031322032303133202FF1 -:100FB0002031373A32353A303900000095010020AF +:100FB0002032313A34373A353800000095010020AC :100FC0000D0A456E746572696E6720434C49204D69 :100FD0006F64652C207479706520276578697427A3 :100FE00020746F2072657475726E2C206F722027CA @@ -570,8 +570,8 @@ :102380001F40B5F8E610014409B22180B5F8EC20F1 :1023900002EB104002B2254862800079A0B3D80653 :1023A00078D5214E95F9DF00B6F902704342B6F9AF -:1023B00000607B437043DE1703EB16731B11C617D7 -:1023C00000EB1670A3EB201001442180104477E04D +:1023B00000607B437043DE1703EB1673C6171B11D7 +:1023C00000EB1670A3EB2010091A2180104477E06F :1023D0001149009818390D4A0880DA32144892F9E8 :1023E00002C092F90110867A92F9000092F9033046 :1023F00046B3B9F90220B5F89870D21B02FB00F879 diff --git a/src/mixer.c b/src/mixer.c index 1e22e1987..480d4f32b 100755 --- a/src/mixer.c +++ b/src/mixer.c @@ -347,7 +347,7 @@ void mixTable(void) if (rcOptions[BOXCAMSTAB]) { if (cfg.gimbal_flags & GIMBAL_MIXTILT) { - servo[0] += (-cfg.gimbal_roll_gain) * angle[PITCH] / 16 - cfg.gimbal_roll_gain * angle[ROLL] / 16; + servo[0] -= (-cfg.gimbal_roll_gain) * angle[PITCH] / 16 - cfg.gimbal_roll_gain * angle[ROLL] / 16; servo[1] += (-cfg.gimbal_roll_gain) * angle[PITCH] / 16 - cfg.gimbal_roll_gain * angle[ROLL] / 16; } else { servo[0] += cfg.gimbal_pitch_gain * angle[PITCH] / 16;