I was wondering if a PR to change the u32 slice in the transmit_preserve callback to a u8 would be acceptable? i.e. PTX: FnMut(Mailbox, TxFrameHeader, &[u32]) -> P, to PTX: FnMut(Mailbox, TxFrameHeader, &[u8]) -> P,
It would be a breaking change, but it would bring the API in line with the other data parameters which are all &[u8]s.
(Sorry for the sudden flurry of posts)
I was wondering if a PR to change the u32 slice in the
transmit_preserve
callback to au8
would be acceptable? i.e.PTX: FnMut(Mailbox, TxFrameHeader, &[u32]) -> P,
toPTX: FnMut(Mailbox, TxFrameHeader, &[u8]) -> P,
It would be a breaking change, but it would bring the API in line with the other
data
parameters which are all&[u8]
s.