aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/low-can.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/low-can.cpp')
-rw-r--r--plugins/low-can.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/low-can.cpp b/plugins/low-can.cpp
index 5d4ef10..e3b505e 100644
--- a/plugins/low-can.cpp
+++ b/plugins/low-can.cpp
@@ -65,7 +65,9 @@ CTLP_ONLOAD(plugin, composerHandle)
struct signalCBT* handle = (struct signalCBT*)composerHandle;
handle->pluginCtx = (void*)pluginCtx;
- return (void*)handle;
+ plugin->context = (void*)handle;
+
+ return 0;
}
CTLP_CAPI (subscribeToLow, source, argsJ, eventJ) {