]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/chronovu-la/protocol.c
korad-kdxxxxp: Rename driver to korad-kaxxxxp.
[libsigrok.git] / src / hardware / chronovu-la / protocol.c
index c2f31a2032a9f6467e99988c67d261f9c7b94ac3..c3340d7c8fc8dbbd68a417ed630f7459fdc40fb4 100644 (file)
@@ -18,6 +18,7 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#include <config.h>
 #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. */