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:
Peter Barker 2024-03-07 18:52:58 +11:00 committed by Andrew Tridgell
parent a682d304cf
commit a77a894b8a
1 changed files with 1 additions and 1 deletions

View File

@ -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
}