summaryrefslogtreecommitdiffstats
path: root/MOST_UNICENS/wrap_volume.c
diff options
context:
space:
mode:
Diffstat (limited to 'MOST_UNICENS/wrap_volume.c')
-rw-r--r--MOST_UNICENS/wrap_volume.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/MOST_UNICENS/wrap_volume.c b/MOST_UNICENS/wrap_volume.c
index 5bc1e84..9f9ceff 100644
--- a/MOST_UNICENS/wrap_volume.c
+++ b/MOST_UNICENS/wrap_volume.c
@@ -73,7 +73,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;
ret = lib_most_volume_init(&mv_init);