param_shmem: fix bug where params didn't stick
There was the case where a param was changed on the Linux side but the change did not get saved on the DSP side because the param was not in the local list of changed params on the DSP side. On save, the param index is now refreshed, and param_get is called on all params that have changed. This is a hacky workaround but resolves the problem for now.
Showing
- src/modules/systemlib/param/param_shmem.c 6 additions, 2 deletionssrc/modules/systemlib/param/param_shmem.c
- src/platforms/posix/px4_layer/shmem_posix.c 3 additions, 2 deletionssrc/platforms/posix/px4_layer/shmem_posix.c
- src/platforms/qurt/px4_layer/shmem_qurt.c 31 additions, 4 deletionssrc/platforms/qurt/px4_layer/shmem_qurt.c
Please register or sign in to comment