mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Merge pull request #14559 from bergzand/pr/sched/idle_do_while
core/sched: tiny logic optimization in idle case
This commit is contained in:
commit
ea8183aac8
@ -109,9 +109,9 @@ int __attribute__((used)) sched_run(void)
|
||||
active_thread = NULL;
|
||||
}
|
||||
|
||||
while (!runqueue_bitcache) {
|
||||
do {
|
||||
sched_arch_idle();
|
||||
}
|
||||
} while (!runqueue_bitcache);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user