Remove src/lib/drivers/accelerometer and gyroscope linking to drivers__device

These are pure uORB publishers, they don't link to drivers__device.

Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
This commit is contained in:
Jukka Laitinen 2021-09-29 09:57:00 +03:00 committed by Daniel Agar
parent dd05cb3496
commit d02a10b20f
2 changed files with 2 additions and 2 deletions

View File

@ -36,4 +36,4 @@ px4_add_library(drivers_accelerometer
PX4Accelerometer.hpp
)
target_compile_options(drivers_accelerometer PRIVATE ${MAX_CUSTOM_OPT_LEVEL})
target_link_libraries(drivers_accelerometer PRIVATE conversion drivers__device)
target_link_libraries(drivers_accelerometer PRIVATE conversion)

View File

@ -36,4 +36,4 @@ px4_add_library(drivers_gyroscope
PX4Gyroscope.hpp
)
target_compile_options(drivers_gyroscope PRIVATE ${MAX_CUSTOM_OPT_LEVEL})
target_link_libraries(drivers_gyroscope PRIVATE conversion drivers__device)
target_link_libraries(drivers_gyroscope PRIVATE conversion)