Revert "Improvements to SITL to make paths more flexible. (#5181)"

This reverts commit 699b6a2cb3.
This commit is contained in:
Lorenz Meier
2016-08-05 21:29:49 +02:00
parent bbe3525377
commit 102f5b54d7
72 changed files with 672 additions and 643 deletions
+2 -2
View File
@@ -90,7 +90,7 @@ int test_mixer(int argc, char *argv[])
#if !defined(CONFIG_ARCH_BOARD_SITL)
const char *filename = "/etc/mixers/IO_pass.mix";
#else
const char *filename = "ROMFS/px4fmu_test/mixers/IO_pass.mix";
const char *filename = "../../../../ROMFS/px4fmu_test/mixers/IO_pass.mix";
#endif
//PX4_INFO("loading: %s", filename);
@@ -400,7 +400,7 @@ int test_mixer(int argc, char *argv[])
#if !defined(CONFIG_ARCH_BOARD_SITL)
filename = "/etc/mixers/quad_test.mix";
#else
filename = "ROMFS/px4fmu_test/mixers/quad_test.mix";
filename = "../../../../ROMFS/px4fmu_test/mixers/quad_test.mix";
#endif
load_mixer_file(filename, &buf[0], sizeof(buf));