X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Ftondaj-sl-814%2Fapi.c;h=17fbc2b1b4d91bfac21e93b866f3be132ecf8716;hb=5b389efcfeff17b0f7466597706c898ad65eb6a9;hp=8962437069de2147ee8b55816148faa1802ac058;hpb=34f06b903e3529a73feb7a6e74fae934a999f821;p=libsigrok.git diff --git a/hardware/tondaj-sl-814/api.c b/hardware/tondaj-sl-814/api.c index 89624370..17fbc2b1 100644 --- a/hardware/tondaj-sl-814/api.c +++ b/hardware/tondaj-sl-814/api.c @@ -82,6 +82,7 @@ static int hw_init(struct sr_context *sr_ctx) return SR_ERR_MALLOC; } + drvc->sr_ctx = sr_ctx; di->priv = drvc; return SR_OK;