sdlog2: put defines around QURT path

This commit is contained in:
Julian Oes
2016-03-22 22:22:30 +01:00
parent 46bc1774f4
commit 2e3093cd8f
+4
View File
@@ -150,7 +150,11 @@ static bool _extended_logging = false;
static bool _gpstime_only = false; static bool _gpstime_only = false;
static int32_t _utc_offset = 0; static int32_t _utc_offset = 0;
#ifndef __PX4_QURT
#define MOUNTPOINT PX4_ROOTFSDIR"/fs/microsd"
#else
#define MOUNTPOINT "/root" #define MOUNTPOINT "/root"
#endif
static const char *mountpoint = MOUNTPOINT; static const char *mountpoint = MOUNTPOINT;
static const char *log_root = MOUNTPOINT "/log"; static const char *log_root = MOUNTPOINT "/log";
static int mavlink_fd = -1; static int mavlink_fd = -1;