mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-06 16:49:51 +08:00
Linux: removed separate path for dataman file for Linux
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -132,11 +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;
|
||||
// FIXME - need a configurable path that is not OS specific
|
||||
#ifdef __PX4_NUTTX
|
||||
static const char *k_data_manager_device_path = "/fs/microsd/dataman";
|
||||
#else
|
||||
static const char *k_data_manager_device_path = "/tmp/dataman";
|
||||
#endif
|
||||
|
||||
/* The data manager work queues */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user