diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2023-07-19 22:12:18 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2023-07-19 22:12:18 +0200 |
commit | 343df6eb8792b3efd33f4426766865ae03ccf316 (patch) | |
tree | b2c05c7adb4774a88d15a46ae040c3428194ed64 /lib/RemoteControl.cpp | |
parent | d521d4f0c5ad3b663a322453c5798626081cb1f3 (diff) | |
download | dabmod-343df6eb8792b3efd33f4426766865ae03ccf316.tar.gz dabmod-343df6eb8792b3efd33f4426766865ae03ccf316.tar.bz2 dabmod-343df6eb8792b3efd33f4426766865ae03ccf316.zip |
Add events
Diffstat (limited to 'lib/RemoteControl.cpp')
-rw-r--r-- | lib/RemoteControl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/RemoteControl.cpp b/lib/RemoteControl.cpp index b544461..fbe0662 100644 --- a/lib/RemoteControl.cpp +++ b/lib/RemoteControl.cpp @@ -109,7 +109,7 @@ std::list< std::vector<std::string> > RemoteControllers::get_param_list_values(c std::string RemoteControllers::get_showjson() { json::map_t root; for (auto &controllable : rcs.controllables) { - root[controllable->get_rc_name()].data = controllable->get_all_values(); + root[controllable->get_rc_name()].v = controllable->get_all_values(); } return json::map_to_json(root); |