mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 16:53:34 +08:00
commander: added some comments
This commit is contained in:
@@ -1432,6 +1432,7 @@ int commander_thread_main(int argc, char *argv[])
|
||||
pthread_attr_setstacksize(&commander_low_prio_attr, 2880);
|
||||
|
||||
#ifndef __PX4_QURT
|
||||
// This is not supported by QURT (yet).
|
||||
struct sched_param param;
|
||||
(void)pthread_attr_getschedparam(&commander_low_prio_attr, ¶m);
|
||||
|
||||
@@ -2195,7 +2196,7 @@ int commander_thread_main(int argc, char *argv[])
|
||||
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
|
||||
// XXX 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 */
|
||||
|
||||
Reference in New Issue
Block a user