this is _expect_delay_ms() with check that we are in the main thread */
| 793 | this is _expect_delay_ms() with check that we are in the main thread |
| 794 | */ |
| 795 | void 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 |
| 805 | void Scheduler::watchdog_pat(void) |
no outgoing calls
no test coverage detected