logger: get paths working on Snapdragon

This commit is contained in:
Julian Oes
2016-05-14 11:27:07 +02:00
committed by Lorenz Meier
parent a0beef3204
commit d3a9930b50
2 changed files with 5 additions and 2 deletions
+5 -1
View File
@@ -124,7 +124,11 @@ private:
static constexpr size_t MAX_TOPICS_NUM = 128; /**< Maximum number of logged topics */
static constexpr unsigned MAX_NO_LOGFOLDER = 999; /**< Maximum number of log dirs */
static constexpr unsigned MAX_NO_LOGFILE = 999; /**< Maximum number of log files */
static constexpr const char *LOG_ROOT = PX4_ROOTFSDIR"/fs/microsd/log";
#ifdef __PX4_POSIX_EAGLE
static constexpr const char *LOG_ROOT = PX4_ROOTFSDIR"/log";
#else
static constexpr const char *LOG_ROOT = PX4_ROOTFSDIR"/fs/microsd/log";
#endif
bool _task_should_exit = true;
char _log_dir[64];