Simulator-related fix.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13420 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
Giovanni Di Sirio 2020-03-15 09:33:26 +00:00
parent c0e152080d
commit 61167897c1
1 changed files with 3 additions and 0 deletions

View File

@ -65,6 +65,9 @@ static void rt_test_003_001_execute(void) {
{ {
systime_t time = chVTGetSystemTimeX(); systime_t time = chVTGetSystemTimeX();
while (time == chVTGetSystemTimeX()) { while (time == chVTGetSystemTimeX()) {
#if defined(SIMULATOR)
_sim_check_for_interrupts();
#endif
} }
} }
test_end_step(1); test_end_step(1);