Revert "Simulation: Set scheduling policy RR for lockstep"

This reverts commit 742b1839d5.
This commit is contained in:
Julian Oes
2020-01-24 12:04:47 +01:00
committed by Lorenz Meier
parent f64a0982c7
commit 30188d2884
2 changed files with 0 additions and 9 deletions
-4
View File
@@ -204,11 +204,7 @@ px4_task_t px4_task_spawn_cmd(const char *name, int scheduler, int priority, int
return (rv < 0) ? rv : -rv;
}
#if defined(ENABLE_LOCKSTEP_SCHEDULER)
rv = pthread_attr_setschedpolicy(&attr, SCHED_RR);
#else
rv = pthread_attr_setschedpolicy(&attr, scheduler);
#endif
if (rv != 0) {
PX4_ERR("px4_task_spawn_cmd: failed to set sched policy");