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
-1
View File
@@ -40,5 +40,4 @@ px4_add_module(
DEPENDS
platforms__common
)
# vim: set noet ft=cmake fenc=utf-8 ff=unix :
+2 -2
View File
@@ -16,7 +16,7 @@
#if !defined(CONFIG_ARCH_BOARD_SITL)
#define TEST_DATA_PATH "/fs/microsd"
#else
#define TEST_DATA_PATH "./src/lib/rc/rc_tests/test_data/"
#define TEST_DATA_PATH "../../../../src/lib/rc/rc_tests/test_data/"
#endif
extern "C" __EXPORT int rc_tests_main(int argc, char *argv[]);
@@ -51,8 +51,8 @@ bool RCTest::dsmTest(void)
FILE *fp;
fp = fopen(filepath, "rt");
warnx("loading data from: %s", filepath);
ut_test(fp != nullptr);
//warnx("loading data from: %s", filepath);
float f;
unsigned x;