AP_RCProtocol: add has_uart()

This commit is contained in:
Andy Piper 2022-10-15 14:16:17 +01:00 committed by Andrew Tridgell
parent f75f68c2f1
commit c815f04e97

View File

@ -124,6 +124,7 @@ public:
// add a UART for RCIN
void add_uart(AP_HAL::UARTDriver* uart);
bool has_uart() const { return added.uart != nullptr; }
#ifdef IOMCU_FW
// set allowed RC protocols