forked from Archive/PX4-Autopilot
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:
parent
55e1259f59
commit
881a2a5860
|
@ -677,6 +677,9 @@ param_set_no_notification(param_t param, const void *val)
|
||||||
bool
|
bool
|
||||||
param_used(param_t param)
|
param_used(param_t param)
|
||||||
{
|
{
|
||||||
|
// TODO FIXME: for now all params are used
|
||||||
|
return true;
|
||||||
|
|
||||||
int param_index = param_get_index(param);
|
int param_index = param_get_index(param);
|
||||||
|
|
||||||
if (param_index < 0) {
|
if (param_index < 0) {
|
||||||
|
|
Loading…
Reference in New Issue