From f689321dedbdb84fd8dd1e19e33466f489ba2d69 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Sun, 5 Jul 2015 13:46:49 +0200 Subject: [PATCH] POSIX: HRT: Be more verbose on error --- 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 2fbe8cd70a..f51802d98b 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 0 +#if 1 // Use this to debug busy CPU that keeps rescheduling with 0 period time if (interval < HRT_INTERVAL_MIN) {