X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fbinary_helpers.c;fp=src%2Fbinary_helpers.c;h=f9b6655de87745af5c1e1e295a3c223a85a42f33;hb=d555959df03e3a51a4a610fde82520df69e3541e;hp=e1c00dddc47162be18415c2b1594cac63b7daa01;hpb=66d58fcb9fdd3a167b8fc6ca19f7f0a007c2ee8f;p=libsigrok.git diff --git a/src/binary_helpers.c b/src/binary_helpers.c index e1c00ddd..f9b6655d 100644 --- a/src/binary_helpers.c +++ b/src/binary_helpers.c @@ -56,8 +56,6 @@ SR_PRIV int bv_get_value(float *out, const struct binary_value_spec *spec, #undef VALUE_TYPE - if (spec->scale) - value *= spec->scale; if (out) *out = value; return SR_OK;