Rotating servo by 180 degree

hello, I tried to actuate a MG90S servo by connecting it to aux channel on pixhawk as SERVO_9. My goal is to have it rotate by 180 degree and I almost have that rotation when I set the PWM values as 500(min), 2500(max) and 1500(trim). My doubt is regarding the servo actually working with this rotation if I set these pwm values during guided flight. I am not sure if setting custom pwm range other than 1000-2000 would actually work during flight, so I am taking caution before hearing some opinions, please let me know if this’ll work or what sort of things I can change.