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.
This commit is contained in:
Julian Oes 2016-03-10 09:03:24 -08:00 committed by Lorenz Meier
parent 55e1259f59
commit 881a2a5860
1 changed files with 3 additions and 0 deletions

View File

@ -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) {