From abfb0bbd38d6992ffbfbd6668a87cb1b6912adf7 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Wed, 8 Jul 2015 23:30:39 +0200 Subject: [PATCH] POSIX: Silence HRT red herring --- src/platforms/posix/px4_layer/drv_hrt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platforms/posix/px4_layer/drv_hrt.c b/src/platforms/posix/px4_layer/drv_hrt.c index f51802d98b..2fbe8cd70a 100644 --- a/src/platforms/posix/px4_layer/drv_hrt.c +++ b/src/platforms/posix/px4_layer/drv_hrt.c @@ -351,7 +351,7 @@ hrt_call_internal(struct hrt_call *entry, hrt_abstime deadline, hrt_abstime inte sq_rem(&entry->link, &callout_queue); } -#if 1 +#if 0 // Use this to debug busy CPU that keeps rescheduling with 0 period time if (interval < HRT_INTERVAL_MIN) {