Projectkk2glider/frsky refactoring

Re #1423

I haven't tested any of this! Please review.
Will be uint8_t here