Commit Graph

3 Commits

Author SHA1 Message Date
Peter Barker d1674b089a AP_Periph: rearrange apd periph initialiser for --error=reorder 2024-11-13 06:40:37 +11:00
Michael du Breuil 4381c17cb2 AP_Periph: Fix bad conversion of APD ESC telemetry
le16toh() returns an unsigned type, which keeps the number as positive
when cast to float. It needs to be explictly converted to a signed
number first.

Tested with real hardware.
2023-09-27 08:40:10 -07:00
Michael du Breuil e2d0cc55d0 AP_Periph: Support APD ESC telemetry 2023-05-25 17:35:27 -07:00