Commit Graph

10 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
Peter Barker c22794d078 AP_Periph: add missing SITL includes
these are required for compilation when other things are introduced
2024-01-03 18:33:10 +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
Andrew Tridgell c151d9bc3d Tools: removed native_millis/micros 2023-08-24 13:06:40 +10:00
bugobliterator ed3683fce3 AP_Periph: use native_millis for use in SITL 2020-11-04 19:59:40 +11:00
Peter Barker de2055b57f Tools: use new UARTDriver discard_input method 2020-05-26 09:20:32 +10:00
Andrew Tridgell e2d6e70895 AP_Periph: fixed HWESC temperature decoding
now have protocol docs
2020-04-02 11:43:37 +11:00
Andrew Tridgell 998f93c7c9 AP_Periph: fixed HWESC RPM and current readings 2020-03-10 09:36:59 +11:00
Andrew Tridgell 5462c468cd AP_Periph: fixed current decoding for HWESC 2020-03-04 16:21:06 +11:00
Andrew Tridgell 44bf05ab29 AP_Periph: added Hobbywing ESC telemetry support
useful to add UAVCAN ESC status for UART based telemetry for Hobbywing
ESCs
2020-03-04 16:21:06 +11:00