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();
|
check_thread_stacks();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HAL_BUILD_AP_PERIPH
|
#if AP_RCPROTOCOL_ENABLED
|
||||||
AP::RC().update();
|
AP::RC().update();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue