Fix hardcoded sensitivity (again?)

This commit is contained in:
IvanDSM 2020-05-11 01:53:52 -03:00
parent 03c7d003c4
commit 50bb799718
1 changed files with 0 additions and 2 deletions

View File

@ -434,8 +434,6 @@ static void newcam_zoom_button(void)
static void newcam_update_values(void)
{//For tilt, this just limits it so it doesn't go further than 90 degrees either way. 90 degrees is actually 16384, but can sometimes lead to issues, so I just leave it shy of 90.
u8 waterflag = 0;
newcam_sensitivityX = 75;
newcam_sensitivityY = 75;
if (newcam_modeflags & NC_FLAG_XTURN)
newcam_yaw += (ivrt(0)*(newcam_yaw_acc*(newcam_sensitivityX/10)));
if (((newcam_tilt < 12000 && newcam_tilt_acc*ivrt(1) > 0) || (newcam_tilt > -12000 && newcam_tilt_acc*ivrt(1) < 0)) && newcam_modeflags & NC_FLAG_YTURN)