Make it so that if the demand > 90degrees, the servo holds 90 deg (so that the demand doesn't wrap round to -90 if the heli still calls 'increment' or some other such instance).
The option to wrap can remain, but set the default behaviour to cap (so all demands >= 90 are set to 90).
Updated the code to add the offset before doing the capping so that it doesn't accidentally wrap (or try to set the PWM width outside the legal limit) when applied.
Make it so that if the demand > 90degrees, the servo holds 90 deg (so that the demand doesn't wrap round to -90 if the heli still calls 'increment' or some other such instance).
The option to wrap can remain, but set the default behaviour to cap (so all demands >= 90 are set to 90).