diff --git a/Aiming/Aim.py b/Aiming/Aim.py index f31f5b8..fdc3ee0 100644 --- a/Aiming/Aim.py +++ b/Aiming/Aim.py @@ -148,7 +148,7 @@ def posterior_calibration(self, raw_pitch, raw_yaw, target_y_dist, target_z_dist target_yaw = raw_yaw # Gravity calibration - pitch_diff = calibrate_pitch_gravity(target_z_dist, target_y_dist) + pitch_diff = calibrate_pitch_gravity(self.CFG, target_z_dist, target_y_dist) target_pitch -= pitch_diff return (target_pitch, target_yaw)