MCPcopy Create free account
hub / github.com/ArduPilot/ardupilot / expect_delay_ms

Method expect_delay_ms

libraries/AP_HAL_ChibiOS/Scheduler.cpp:795–802  ·  view source on GitHub ↗

this is _expect_delay_ms() with check that we are in the main thread */

Source from the content-addressed store, hash-verified

793 this is _expect_delay_ms() with check that we are in the main thread
794 */
795void Scheduler::expect_delay_ms(uint32_t ms)
796{
797 if (!in_main_thread()) {
798 // only for main thread
799 return;
800 }
801 _expect_delay_ms(ms);
802}
803
804// pat the watchdog
805void Scheduler::watchdog_pat(void)

Callers 7

ExpectDelayMethod · 0.45
~ExpectDelayMethod · 0.45
resetMethod · 0.45
flash_bootloaderMethod · 0.45
saveMethod · 0.45
flushMethod · 0.45
prepare_rebootMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected