X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fchronovu-la%2Fprotocol.c;h=c3340d7c8fc8dbbd68a417ed630f7459fdc40fb4;hb=16fc7ee29ffa196d29a20fddd81234792f88b12c;hp=c2f31a2032a9f6467e99988c67d261f9c7b94ac3;hpb=155b680da482cea2381becb73c51cfb838bff31e;p=libsigrok.git diff --git a/src/hardware/chronovu-la/protocol.c b/src/hardware/chronovu-la/protocol.c index c2f31a20..c3340d7c 100644 --- a/src/hardware/chronovu-la/protocol.c +++ b/src/hardware/chronovu-la/protocol.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include #include "protocol.h" SR_PRIV const struct cv_profile cv_profiles[] = { @@ -371,7 +372,7 @@ SR_PRIV int cv_read_block(struct dev_context *devc) } while ((devc->done > now) && (bytes_read == 0)); } - /* Check if block read was successful or a timeout occured. */ + /* Check if block read was successful or a timeout occurred. */ if (bytes_read != BS) { sr_err("Trigger timed out. Bytes read: %d.", bytes_read); (void) reset_device(devc); /* Ignore errors. */