mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-06 19:00:27 +08:00
Remove AP_Mount_Topotek::hexchar4_to_int16 and replace its three call sites with hex_chars_to_uint32. Use hex_char_to_nibble and hex_charpairs_to_uint8s for the remaining single-nibble and multi-byte decode sites. Return early on parse failure in gimbal_angle_analyse rather than substituting zero angles for a corrupted packet. Make the angle_cd locals const. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>