Commit Graph

8 Commits

Author SHA1 Message Date
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 94841dd608 Tools: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
Gone4Dirt 853bfbf64d AP_Periph: Add support for up to two rangefinders 2024-04-17 17:06:42 +10:00
Andrew Tridgell 68f5c7b4dc AP_Periph: fixed reply for serial tunnel
add in serial index
2023-11-22 17:19:12 +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
Peter Barker 3c46db5261 AP_Periph: rename ins locals to avoid conflict with ins member variable 2023-08-01 11:37:14 +10:00
Andrew Tridgell 1696464bac AP_Periph: make uCenter ublox fw update more reliable
ensure we have a big enough UART buffer and do locking
2023-07-18 11:38:27 +10:00
Andrew Tridgell 946840cc99 AP_Periph: added targetted tunnel message for CAN serial passthru
this allows for remote control of serial devices over DroneCAN
2023-07-12 17:06:02 +10:00