mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_SITL: correct define around use of RC singleton
... you may not be a periphs and *still* not have RC...
This commit is contained in:
parent
a682d304cf
commit
a77a894b8a
|
@ -290,7 +290,7 @@ void Scheduler::_run_io_procs()
|
|||
check_thread_stacks();
|
||||
#endif
|
||||
|
||||
#ifndef HAL_BUILD_AP_PERIPH
|
||||
#if AP_RCPROTOCOL_ENABLED
|
||||
AP::RC().update();
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue