mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-02 11:59:17 +08:00
Use correct path when looking up df wrapper.
This commit is contained in:
committed by
Daniel Agar
parent
859b242cb8
commit
d1a1a1b9fe
@@ -261,7 +261,7 @@ function(px4_add_board)
|
|||||||
foreach(driver ${DF_DRIVERS})
|
foreach(driver ${DF_DRIVERS})
|
||||||
list(APPEND config_df_driver_list ${driver})
|
list(APPEND config_df_driver_list ${driver})
|
||||||
|
|
||||||
if(EXISTS "${PX4_SOUCE_DIR}/platforms/posix/drivers/df_${driver}_wrapper")
|
if(EXISTS "${PX4_SOURCE_DIR}/src/platforms/posix/drivers/df_${driver}_wrapper")
|
||||||
list(APPEND config_module_list platforms/posix/drivers/df_${driver}_wrapper)
|
list(APPEND config_module_list platforms/posix/drivers/df_${driver}_wrapper)
|
||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|||||||
Reference in New Issue
Block a user