Fix bad switch value and export some numeric constants as defines
(channel names are not right, need to check roll, pitch and yaw)