From f718c25dbed900d0e44e60d37247fbf3257ce1a5 Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Sun, 27 Mar 2016 10:49:30 +0200 Subject: [PATCH] commander: remove QURT workaround Timestamps didn't exist when commander was run on the Linux side. However, commander is now always run on the QURT side, so the hack is no longer needed. --- src/modules/commander/commander.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/modules/commander/commander.cpp b/src/modules/commander/commander.cpp index 52d58169d1..d351f9918f 100644 --- a/src/modules/commander/commander.cpp +++ b/src/modules/commander/commander.cpp @@ -2257,13 +2257,8 @@ int commander_thread_main(int argc, char *argv[]) } /* RC input check */ -#ifndef __PX4_QURT if (!status.rc_input_blocked && sp_man.timestamp != 0 && (hrt_absolute_time() < sp_man.timestamp + (uint64_t)(rc_loss_timeout * 1e6f))) { -#else - // HACK: remove old data check due to timestamp issue in QURT - if (!status.rc_input_blocked && sp_man.timestamp != 0) { -#endif /* handle the case where RC signal was regained */ if (!status.rc_signal_found_once) { status.rc_signal_found_once = true;