X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fhantek-dso%2Fapi.c;h=518739eb6ed6c39665f0a11714d377a4de4cc0bf;hb=88ff66c2c910f32b92faa6c4815f60cec47577c4;hp=4ab64ef68640925596cc3a50eab89ab49be5b1e1;hpb=f4575b6549ded99ec5380b4d6fafa899f5cb65ae;p=libsigrok.git 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