Browse Source

AP_RCProtocol: fix examples

master
Peter Barker 3 years ago committed by Peter Barker
parent
commit
402d9708a5
  1. 2
      libraries/AP_RCProtocol/AP_RCProtocol.cpp

2
libraries/AP_RCProtocol/AP_RCProtocol.cpp

@ -68,7 +68,7 @@ AP_RCProtocol::~AP_RCProtocol() @@ -68,7 +68,7 @@ AP_RCProtocol::~AP_RCProtocol()
bool AP_RCProtocol::should_search(uint32_t now_ms) const
{
#ifndef IOMCU_FW
#if !defined(IOMCU_FW) && !APM_BUILD_TYPE(APM_BUILD_UNKNOWN)
if (_detected_protocol != AP_RCProtocol::NONE && !rc().multiple_receiver_support()) {
return false;
}

Loading…
Cancel
Save