mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 03:13:34 +08:00
POSIX: Added PX4_ROOTFSDIR to file paths
Set a default path relative to current dir for the posix target. Running make posixrun will create the required directoroes and then run mainapp from its build location. PX4_ROOTFSDIR is set to nothing for nuttx. Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -132,7 +132,7 @@ static sem_t g_sys_state_mutex;
|
||||
|
||||
/* The data manager store file handle and file name */
|
||||
static int g_fd = -1, g_task_fd = -1;
|
||||
static const char *default_device_path = "/fs/microsd/dataman";
|
||||
static const char *default_device_path = PX4_ROOTFSDIR"/fs/microsd/dataman";
|
||||
static char *k_data_manager_device_path = NULL;
|
||||
|
||||
/* The data manager work queues */
|
||||
|
||||
Reference in New Issue
Block a user