Use correct path when looking up df wrapper.

This commit is contained in:
Kārlis Seņko 2018-12-07 11:17:49 +02:00 committed by Daniel Agar
parent 859b242cb8
commit d1a1a1b9fe
1 changed files with 1 additions and 1 deletions

View File

@ -261,7 +261,7 @@ function(px4_add_board)
foreach(driver ${DF_DRIVERS})
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)
endif()
endforeach()