VOXL2 board support updates (#21426)

This commit is contained in:
Eric Katzfey authored and GitHub committed 2023-04-19 11:21:02 -04:00
1 parent cb66c48876
commit 018ca6b49d
17 files changed
+755 -141

No files matched your search

+1 -3
View File
@@ -75,15 +75,13 @@ void WorkerThread::startTask(Request request)
pthread_attr_init(&low_prio_attr);
pthread_attr_setstacksize(&low_prio_attr, PX4_STACK_ADJUSTED(4804));
#ifndef __PX4_QURT
// This is not supported by QURT (yet).
struct sched_param param;
pthread_attr_getschedparam(&low_prio_attr, &param);
/* low priority */
param.sched_priority = SCHED_PRIORITY_DEFAULT - 50;
pthread_attr_setschedparam(&low_prio_attr, &param);
#endif
int ret = pthread_create(&_thread_handle, &low_prio_attr, &threadEntryTrampoline, this);
pthread_attr_destroy(&low_prio_attr);