Projectkk2glider/frsky refactoring

Re #1423

I haven't tested any of this! Please review.
We are used to put the bracket { on the next line for the start of the function in OpenTX