sdlog2: concatenate path strings

This commit is contained in:
Ban Siesta
2015-01-04 13:48:11 +00:00
parent 460402e07a
commit 3b418a5a59
+3 -2
View File
@@ -160,8 +160,9 @@ static const int MIN_BYTES_TO_WRITE = 512;
static bool _extended_logging = false;
static const char *mountpoint = "/fs/microsd";
static const char *log_root = "/fs/microsd/log";
#define MOUNTPOINT "/fs/microsd"
static const char *mountpoint = MOUNTPOINT;
static const char *log_root = MOUNTPOINT "/log";
static int mavlink_fd = -1;
struct logbuffer_s lb;