X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fbinary_helpers.c;h=a15f5cfba8acf978697096b0258961918409fb27;hb=c622c88c446a2f5e1c045657ef233c147a1f43d4;hp=86c4c5838fce2bf470524bd3c2a0b8859a741514;hpb=d65f51bf5c549e5dbacb5c6fb6636e482ff02da8;p=libsigrok.git diff --git a/src/binary_helpers.c b/src/binary_helpers.c index 86c4c583..a15f5cfb 100644 --- a/src/binary_helpers.c +++ b/src/binary_helpers.c @@ -22,7 +22,8 @@ #include #include "libsigrok-internal.h" -SR_PRIV int bv_get_value(float *out, const struct binary_value_spec *spec, const void *data, size_t length) +SR_PRIV int bv_get_value(float *out, const struct binary_value_spec *spec, + const void *data, size_t length) { float value; @@ -59,8 +60,9 @@ SR_PRIV int bv_get_value(float *out, const struct binary_value_spec *spec, const return SR_OK; } -SR_PRIV int bv_send_analog_channel(const struct sr_dev_inst *sdi, struct sr_channel *ch, - const struct binary_analog_channel *bac, const void *data, size_t length) +SR_PRIV int bv_send_analog_channel(const struct sr_dev_inst *sdi, + struct sr_channel *ch, const struct binary_analog_channel *bac, + const void *data, size_t length) { int err; struct sr_analog_encoding encoding;