AP_RCProtocol: let compiler elide unused method

... rather than removing it based on target.

I need this symbol for other targets
This commit is contained in:
Peter Barker 2023-05-25 09:19:52 +10:00 committed by Peter Barker
parent 4bcd4decb1
commit d4dbf82c33

View File

@ -169,12 +169,10 @@ public:
void add_uart(AP_HAL::UARTDriver* uart);
bool has_uart() const { return added.uart != nullptr; }
#ifdef IOMCU_FW
// set allowed RC protocols
void set_rc_protocols(uint32_t mask) {
rc_protocols_mask = mask;
}
#endif
class SerialConfig {
public: