dataman: get path for Snapdragon right

This commit is contained in:
Julian Oes 2016-05-14 00:06:55 +02:00 committed by Lorenz Meier
parent e186821692
commit 3a8d242576
2 changed files with 6 additions and 0 deletions

View File

@ -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 */

View File

@ -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