From: Uwe Hermann Date: Thu, 31 May 2012 20:40:41 +0000 (+0200) Subject: hantek-dso: Quickfix for build issue (will be removed later). X-Git-Tag: dsupstream~928 X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=commitdiff_plain;h=88ff66c2c910f32b92faa6c4815f60cec47577c4 hantek-dso: Quickfix for build issue (will be removed later). --- diff --git a/hardware/hantek-dso/api.c b/hardware/hantek-dso/api.c index 4ab64ef6..518739eb 100644 --- a/hardware/hantek-dso/api.c +++ b/hardware/hantek-dso/api.c @@ -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