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 +)