mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-29 03:36:07 +08:00
Qurt specific drivers for testing and some updates to the startup process (#20917)
* Added a couple of Qurt specific drivers for testing and some updates to Qurt startup code
This commit is contained in:
@@ -107,6 +107,14 @@ static void work_process(struct wqueue_s *wqueue, int lock_id)
|
||||
|
||||
next = CONFIG_SCHED_WORKPERIOD;
|
||||
|
||||
#ifdef __PX4_QURT
|
||||
// In Posix certain signals wake up a sleeping thread but it isn't the case
|
||||
// with the Qurt POSIX implementation. So rather than assume we can come out
|
||||
// of the sleep early by a signal we just wake up more often.
|
||||
next = 1000;
|
||||
#endif
|
||||
|
||||
|
||||
work_lock(lock_id);
|
||||
|
||||
work = (struct work_s *)wqueue->q.head;
|
||||
|
||||
Reference in New Issue
Block a user