Commit Graph

3 Commits

Author SHA1 Message Date
Shiv Tyagi
e1bcd39040 Tools: use new AP_PERIPH_PROXIMITY_ENABLED define 2025-02-27 08:00:43 +11:00
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
0c38dada6c AP_Periph: re-structure peripheral code
split into separate cpp files and avoid static functions
2023-09-01 13:04:59 +10:00