mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 05:43:33 +08:00
mavlink:Use CONFIG_BOARD_ROOT_PATH instead of string constant
This commit is contained in:
committed by
Daniel Agar
parent
ea92c7ffcc
commit
54b20f1ff3
@@ -43,7 +43,7 @@
|
||||
#include "../mavlink_ftp.h"
|
||||
|
||||
#ifdef __PX4_NUTTX
|
||||
#define PX4_MAVLINK_TEST_DATA_DIR "/fs/microsd/ftp_unit_test_data"
|
||||
#define PX4_MAVLINK_TEST_DATA_DIR CONFIG_BOARD_ROOT_PATH "/ftp_unit_test_data"
|
||||
#else
|
||||
#define PX4_MAVLINK_TEST_DATA_DIR "ftp_unit_test_data"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user