aboutsummaryrefslogtreecommitdiff
path: root/src/systemcmds/tests
diff options
context:
space:
mode:
authorAnton Babushkin <anton.babushkin@me.com>2014-01-30 17:23:10 +0100
committerAnton Babushkin <anton.babushkin@me.com>2014-01-30 17:23:10 +0100
commitf64872b9b305df51bad14c4cbf5519e3e4b95030 (patch)
tree67c3d4d000b262baf97543310dd34e02e2bce15d /src/systemcmds/tests
parent13a5b5b4a3d8e487fb836e14185d61c03493ef0a (diff)
parent2f267fbf439d867d47b6772471d0f203036eefa2 (diff)
downloadpx4-firmware-f64872b9b305df51bad14c4cbf5519e3e4b95030.tar.gz
px4-firmware-f64872b9b305df51bad14c4cbf5519e3e4b95030.tar.bz2
px4-firmware-f64872b9b305df51bad14c4cbf5519e3e4b95030.zip
Merge branch 'master' into beta
Diffstat (limited to 'src/systemcmds/tests')
-rw-r--r--src/systemcmds/tests/test_rc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemcmds/tests/test_rc.c b/src/systemcmds/tests/test_rc.c
index 6a602ecfc..57c0e7f4c 100644
--- a/src/systemcmds/tests/test_rc.c
+++ b/src/systemcmds/tests/test_rc.c
@@ -121,7 +121,7 @@ int test_rc(int argc, char *argv[])
return ERROR;
}
- if (hrt_absolute_time() - rc_input.timestamp > 100000) {
+ if (hrt_absolute_time() - rc_input.timestamp_last_signal > 100000) {
warnx("TIMEOUT, less than 10 Hz updates");
(void)close(_rc_sub);
return ERROR;