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:
parent
4bcd4decb1
commit
d4dbf82c33
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user