Thomas Watson
f2f1ac39cf
AP_Periph: remove redundant DroneCAN packet buffer initialization
...
The <msg>_encode method always zeros the buffer up to <msg>_MAX_SIZE
bytes so there is no need to do it before calling the function.
Saves at least 8 bytes per instance.
2024-08-03 19:02:39 +10:00
Andrew Tridgell
0eded27a9f
AP_Periph: check return of get_RelPosHeading
2024-04-23 10:32:43 +10:00
Andrew Tridgell
fbfa3e43bc
AP_Periph: allow for RTCMv3 packets larger than 300 bytes
...
with newer receivers, RTCMv3 packets can be larger than 300
2024-03-06 19:38:06 +11:00
Andrew Tridgell
cd72dcb73f
AP_Periph: use a 1s deadline for packets
...
this fixes an issue with early discard of packets on MCUs with small
number of transmit slots and higher packet send count
2023-12-19 18:56:46 +11:00
Andrew Tridgell
0c38dada6c
AP_Periph: re-structure peripheral code
...
split into separate cpp files and avoid static functions
2023-09-01 13:04:59 +10:00