Interfacing GSM module code optimization

The code I'm running allows that but I do not own any planes with Ailerons. However, I use this transmitter with a small helicopter and "drones" which have throttle, pitch, yaw and roll.

If you are interested, here's the author's site:

(articles P16 and P17)