mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-23 00:04:02 -04:00
AP_Mount: Remove unused check
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
This commit is contained in:
parent
fb7c46bda0
commit
0f42702910
@ -269,11 +269,6 @@ void AP_Mount_SToRM32_serial::parse_reply() {
|
|||||||
_current_angle.y = _buffer.data.imu1_pitch;
|
_current_angle.y = _buffer.data.imu1_pitch;
|
||||||
_current_angle.z = _buffer.data.imu1_yaw;
|
_current_angle.z = _buffer.data.imu1_yaw;
|
||||||
break;
|
break;
|
||||||
case ReplyType_ACK:
|
|
||||||
crc = crc_calculate(&_buffer[1],
|
|
||||||
sizeof(SToRM32_reply_ack_struct) - 3);
|
|
||||||
crc_ok = crc == _buffer.ack.crc;
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user