mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 00:43:35 +08:00
file paths: add PX4_STORAGEDIR & use it where appropriate
This commit is contained in:
@@ -64,7 +64,7 @@ static inline unsigned int time_fsync(int fd);
|
||||
|
||||
__EXPORT int sd_bench_main(int argc, char *argv[]);
|
||||
|
||||
static const char *BENCHMARK_FILE = PX4_ROOTFSDIR"/fs/microsd/benchmark.tmp";
|
||||
static const char *BENCHMARK_FILE = PX4_STORAGEDIR"/benchmark.tmp";
|
||||
|
||||
static int num_runs; ///< number of runs
|
||||
static int run_duration; ///< duration of a single run [ms]
|
||||
|
||||
Reference in New Issue
Block a user