mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-02 03:49:12 +08:00
Merge pull request #587 from sjwilks/hott-fixes
Reduce the scheduler priority to a more acceptable level
This commit is contained in:
@@ -211,7 +211,7 @@ hott_sensors_main(int argc, char *argv[])
|
|||||||
thread_should_exit = false;
|
thread_should_exit = false;
|
||||||
deamon_task = task_spawn_cmd(daemon_name,
|
deamon_task = task_spawn_cmd(daemon_name,
|
||||||
SCHED_DEFAULT,
|
SCHED_DEFAULT,
|
||||||
SCHED_PRIORITY_MAX - 40,
|
SCHED_PRIORITY_DEFAULT,
|
||||||
1024,
|
1024,
|
||||||
hott_sensors_thread_main,
|
hott_sensors_thread_main,
|
||||||
(argv) ? (const char **)&argv[2] : (const char **)NULL);
|
(argv) ? (const char **)&argv[2] : (const char **)NULL);
|
||||||
|
|||||||
@@ -237,7 +237,7 @@ hott_telemetry_main(int argc, char *argv[])
|
|||||||
thread_should_exit = false;
|
thread_should_exit = false;
|
||||||
deamon_task = task_spawn_cmd(daemon_name,
|
deamon_task = task_spawn_cmd(daemon_name,
|
||||||
SCHED_DEFAULT,
|
SCHED_DEFAULT,
|
||||||
SCHED_PRIORITY_MAX - 40,
|
SCHED_PRIORITY_DEFAULT,
|
||||||
2048,
|
2048,
|
||||||
hott_telemetry_thread_main,
|
hott_telemetry_thread_main,
|
||||||
(argv) ? (const char **)&argv[2] : (const char **)NULL);
|
(argv) ? (const char **)&argv[2] : (const char **)NULL);
|
||||||
|
|||||||
Reference in New Issue
Block a user