pub fn output_protocol_for_rate<R: FlightFloat>( rate_hz: R, ) -> Result<PwmOutputProtocol, PwmError>