top: decrease priority below IMU sensor WQ threads

- otherwise top can potentially disrupt with sensor sampling
This commit is contained in:
Daniel Agar
2019-10-19 13:44:24 -04:00
committed by GitHub
parent 3bbf1cc868
commit 687a3a15c5
+5 -5
View File
@@ -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
)