mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 02:43:33 +08:00
top: decrease priority below IMU sensor WQ threads
- otherwise top can potentially disrupt with sensor sampling
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
############################################################################
|
||||
#
|
||||
# Copyright (c) 2015 PX4 Development Team. All rights reserved.
|
||||
# Copyright (c) 2015-2019 PX4 Development Team. All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
@@ -33,10 +33,10 @@
|
||||
px4_add_module(
|
||||
MODULE systemcmds__top
|
||||
MAIN top
|
||||
PRIORITY "SCHED_PRIORITY_MAX"
|
||||
COMPILE_FLAGS
|
||||
PRIORITY
|
||||
"SCHED_PRIORITY_MAX - 7" # max priority below sensor WQ threads
|
||||
SRCS
|
||||
top.c
|
||||
DEPENDS
|
||||
)
|
||||
|
||||
systemlib
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user