From 881a2a5860a37b1e586d46231ea02ca4e17c8d97 Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Thu, 10 Mar 2016 09:03:24 -0800 Subject: [PATCH] param_shmem: make all params used This is a workaround for the fact that the used information is not shared between the ADSP and the Linux side on the Snapdragon. By flagging all params used, we can at least receive them on QGC. --- src/modules/systemlib/param/param_shmem.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules/systemlib/param/param_shmem.c b/src/modules/systemlib/param/param_shmem.c index c41d59114b..f789da1464 100644 --- a/src/modules/systemlib/param/param_shmem.c +++ b/src/modules/systemlib/param/param_shmem.c @@ -677,6 +677,9 @@ param_set_no_notification(param_t param, const void *val) bool param_used(param_t param) { + // TODO FIXME: for now all params are used + return true; + int param_index = param_get_index(param); if (param_index < 0) {