mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-22 14:19:57 +08:00
Revert "fix(px4_work_queue): link px4_layer for the task functions it uses"
This reverts commit d92a0c6b3. In protected builds px4_work_queue is also
linked into the kernel image, where px4_layer's user-side objects collide
with the kernel ones (px4_fmu-v5_protected). The Erbium target no longer
needs the link dependency, since its modules pull in px4_task_spawn_cmd()
and px4_task_join() before px4_work_queue is linked.
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Afonso Oliveira <afonso.oliveira707@gmail.com>
This commit is contained in:
1 parent
e579b6f4ba
commit
af77d02acf
1 file changed
-4
@@ -44,7 +44,3 @@ if(PX4_TESTING)
|
||||
endif()
|
||||
|
||||
target_compile_options(px4_work_queue PRIVATE ${MAX_CUSTOM_OPT_LEVEL})
|
||||
|
||||
# WorkQueueManager starts and joins its thread with px4_task_spawn_cmd() and
|
||||
# px4_task_join()
|
||||
target_link_libraries(px4_work_queue PRIVATE px4_layer)
|
||||
Reference in new issue
Block a user