pub fn serialize<const ROW: usize, const COL: usize>(
entries: &[[CalibEntry; COL]; ROW],
buf: &mut [u8; 259],
)Expand description
Serialize entries (row-major, ROW × COL) into buf.
Writes the magic number, version byte, all full-travel entries, and a
CRC-16/CCITT checksum over all preceding bytes.
buf must be at least total_len(ROW, COL) bytes.