fn parse_ping_response(motor_id: u8, parameters: &[u8]) -> PingResponse {
	PingResponse {
		motor_id,
		model: crate::endian::read_u16_le(&parameters[0..]),
		firmware: crate::endian::read_u8_le(&parameters[2..]),
	}
}
/// Parse a ping response from the motor ID and status response parameters.
Parse a ping response from the motor ID and status response parameters.
Parse a ping response from the motor ID and status response parameters .
fn parse_ping_response(motor_id: u8, parameters: &[u8]) -> PingResponse {
	PingResponse {
		motor_id,
		model: crate::endian::read_u16_le(&parameters[0..]),
		firmware: crate::endian::read_u8_le(&parameters[2..]),
	}
}
fn parse_ping_response ( motor_id : u8 , parameters : & [ u8 ] ) -> PingResponse { PingResponse { motor_id , model : crate :: endian :: read_u16_le ( & parameters [ 0 .. ] ) , firmware : crate :: endian :: read_u8_le ( & parameters [ 2 .. ] ) , } }
Parse a ping response from the motor ID and status response parameters.
Parse a ping response from the motor ID and status response parameters .
motor_id
u8
parameters
&[u8]
motor_id
u8
parameters
&[u8]