X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fpipistrello-ols%2Fapi.c;fp=src%2Fhardware%2Fpipistrello-ols%2Fapi.c;h=3e02bc2868ed3e0636dbcafe97cc8e66da1d3e0f;hb=dcd438ee3523098201c7937e75e55775da3b506f;hp=31fd9ac2568379fc1efbc67d09b509c621b030a2;hpb=329733d92c5004f0fe308eff26b9537fded2cdf3;p=libsigrok.git diff --git a/src/hardware/pipistrello-ols/api.c b/src/hardware/pipistrello-ols/api.c index 31fd9ac2..3e02bc28 100644 --- a/src/hardware/pipistrello-ols/api.c +++ b/src/hardware/pipistrello-ols/api.c @@ -443,7 +443,7 @@ static int dev_open(struct sr_dev_inst *sdi) if (p_ols_open(devc) != SR_OK) { return SR_ERR; } else { - sdi->status = SR_ST_ACTIVE; + sdi->status = SR_ST_ACTIVE; return SR_OK; } }