Alternate use of Telem 2 port

I am working on a project where I need to send the servo positions to another board via a serial port. I would like to modify the code to only send the MSG_SERVO_OUT message at roughly 10Hz on the Telem 2 port. That is the only message I would like on that port. I’m fairly new to the code base and have been trying to work my way through the code trying to find the best place to make the changes. It looks like I need to make the changes in GCS_Mavlink.cpp. Any help would be much appreciated.

Thank you