]> sigrok.org Git - libsigrok.git/commitdiff
hantek-dso: Quickfix for build issue (will be removed later).
authorUwe Hermann <redacted>
Thu, 31 May 2012 20:40:41 +0000 (22:40 +0200)
committerUwe Hermann <redacted>
Thu, 31 May 2012 20:40:41 +0000 (22:40 +0200)
hardware/hantek-dso/api.c

index 4ab64ef68640925596cc3a50eab89ab49be5b1e1..518739eb6ed6c39665f0a11714d377a4de4cc0bf 100644 (file)
@@ -35,6 +35,8 @@
 #include "config.h"
 #include "dso.h"
 
+/* FIXME: Temporary build fix, this will be removed later. */
+#define GTV_TO_MSEC(gtv)       (gtv.tv_sec * 1000 + gtv.tv_usec / 1000)
 
 /* Max time in ms before we want to check on events */
 #define TICK    1