mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-22 14:19:57 +08:00
crc8_tab and crc_packet() were static in protocol.h, so every flight controller image carried two copies of the table: one for the px4io driver and one for the arch serial code. Move them into a px4io_protocol library. This saves 304 bytes of FLASH on px4_fmu-v6x; the IO firmware is unchanged. Assisted-by: Claude:claude-fable-5-1 Signed-off-by: Michael Rogov Papernov <michael@membrowse.com>