mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-08 08:53:56 -04:00
AP_RCProtocol: add has_uart()
This commit is contained in:
parent
f75f68c2f1
commit
c815f04e97
@ -124,6 +124,7 @@ public:
|
|||||||
|
|
||||||
// add a UART for RCIN
|
// add a UART for RCIN
|
||||||
void add_uart(AP_HAL::UARTDriver* uart);
|
void add_uart(AP_HAL::UARTDriver* uart);
|
||||||
|
bool has_uart() const { return added.uart != nullptr; }
|
||||||
|
|
||||||
#ifdef IOMCU_FW
|
#ifdef IOMCU_FW
|
||||||
// set allowed RC protocols
|
// set allowed RC protocols
|
||||||
|
Loading…
Reference in New Issue
Block a user