forked from Archive/PX4-Autopilot
dataman: get path for Snapdragon right
This commit is contained in:
parent
e186821692
commit
3a8d242576
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue