Skip to content
Snippets Groups Projects
Commit 3a8d2425 authored by Julian Oes's avatar Julian Oes Committed by Lorenz Meier
Browse files

dataman: get path for Snapdragon right

parent e1868216
No related branches found
No related tags found
No related merge requests found
......@@ -134,7 +134,11 @@ static px4_sem_t g_sys_state_mutex;
/* The data manager store file handle and file name */
static int g_fd = -1, g_task_fd = -1;
#ifdef __PX4_POSIX_EAGLE
static const char *default_device_path = PX4_ROOTFSDIR"/dataman";
#else
static const char *default_device_path = PX4_ROOTFSDIR"/fs/microsd/dataman";
#endif
static char *k_data_manager_device_path = NULL;
/* The data manager work queues */
......
......@@ -160,6 +160,8 @@ __END_DECLS
#if defined(__PX4_QURT)
#define PX4_ROOTFSDIR
#elif defined(__PX4_POSIX_EAGLE)
#define PX4_ROOTFSDIR "/home/linaro"
#else
#define PX4_ROOTFSDIR "rootfs"
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment