Commit Graph
8 Commits
Author SHA1 Message Date
Peter Barker a50efd984e AP_Periph: correct function name for detected protocol name
../../Tools/AP_Periph/rc_in.cpp: In member function 'void AP_Periph_FW::rcin_update()':
../../Tools/AP_Periph/rc_in.cpp:117:31: error: 'class AP_RCProtocol' has no member named 'protocol_name'; did you mean 'protocol_enabled'?
  117 |     auto new_rc_protocol = rc.protocol_name();
      |                               ^~~~~~~~~~~~~
      |                               protocol_enabled
compilation terminated due to -Wfatal-errors.
2025-03-09 15:02:40 -04:00
Shiv Tyagi 651e0be73c Tools: replace HAL_PERIPH_ENABLE_RCIN with AP_PERIPH_RCIN_ENABLED 2025-02-11 19:31:19 +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
Peter Barker 47a18596db AP_Periph: correct parameter documentation 2023-11-22 21:43:53 -08:00
Andrew Tridgell 69ad504762 AP_Periph: fixed handling of first uart for RC input 2023-08-29 08:00:20 +10:00
Peter Barker 9fb872cdd7 AP_Periph: move RC IN parameters to sub-object 2023-08-19 20:27:24 +10:00
Andrew Tridgell 312ca017a0 AP_Periph: added RC input serial port options 2023-08-19 20:27:24 +10:00
Peter Barker ee0a49bb7c AP_Periph: add support for DroneCAN RCInput packets 2023-08-19 20:27:24 +10:00