From 687a3a15c572f2e9787274a244016df927882700 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Sat, 19 Oct 2019 13:44:24 -0400 Subject: [PATCH] top: decrease priority below IMU sensor WQ threads - otherwise top can potentially disrupt with sensor sampling --- src/systemcmds/top/CMakeLists.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/systemcmds/top/CMakeLists.txt b/src/systemcmds/top/CMakeLists.txt index f2f7f290c3..db2111cb47 100644 --- a/src/systemcmds/top/CMakeLists.txt +++ b/src/systemcmds/top/CMakeLists.txt @@ -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 +)