summaryrefslogtreecommitdiffstats
path: root/plugin/wrap_volume.c
diff options
context:
space:
mode:
authorTobias Jahnke <tobias.jahnke@microchip.com>2018-10-15 14:22:58 +0200
committerTobias Jahnke <tobias.jahnke@microchip.com>2018-12-18 13:01:13 +0100
commit2fac61e232dbdc5135345a07b19a66a5ebb2a015 (patch)
tree80d00b70d6adfa38a24829908f48fa8ad08df161 /plugin/wrap_volume.c
parent3798969ce5771058d9526e2b3cbfec2c74e23fed (diff)
4a-hal-unicens: prepare support for Fiberdyne Amp
Bug-AGL: SPEC-1758 - updated VolumeLib to support ctrl messages - added master volume setup for amplifier node - known issue: message transmission is commented out due to wrap_json issue Signed-off-by: Tobias Jahnke <tobias.jahnke@microchip.com>
Diffstat (limited to 'plugin/wrap_volume.c')
-rw-r--r--plugin/wrap_volume.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugin/wrap_volume.c b/plugin/wrap_volume.c
index 61b752f..9c3d7a1 100644
--- a/plugin/wrap_volume.c
+++ b/plugin/wrap_volume.c
@@ -87,7 +87,8 @@ extern int wrap_volume_init(void)
lib_most_volume_init_t mv_init;
mv_init.writei2c_cb = &wrap_ucs_i2cwrite;
- mv_init.service_cb = wrap_volume_service_cb;
+ mv_init.service_cb = &wrap_volume_service_cb;
+ mv_init.sendmsg_cb = &wrap_ucs_sendmessage_sync;
ret = lib_most_volume_init(&mv_init);