From: Bert Vermeulen Date: Wed, 16 May 2012 00:07:51 +0000 (+0200) Subject: sr: use SR_T_RATIONAL_PERIOD (new-style types) X-Git-Tag: dsupstream~942 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=c1e486185ec4e4a894419f8d287c55ffb6282979;p=libsigrok.git sr: use SR_T_RATIONAL_PERIOD (new-style types) SR_T__ --- diff --git a/hwdriver.c b/hwdriver.c index 5e9cb02f..11039016 100644 --- a/hwdriver.c +++ b/hwdriver.c @@ -41,7 +41,7 @@ SR_API struct sr_hwcap_option sr_hwcap_options[] = { {SR_HWCAP_HORIZ_TRIGGERPOS, SR_T_FLOAT, "Horizontal trigger position", "horiz_triggerpos"}, {SR_HWCAP_BUFFERSIZE, SR_T_UINT64, "Buffer size", "buffersize"}, - {SR_HWCAP_TIMEBASE, SR_T_RATIONAL, "Time base", "timebase"}, + {SR_HWCAP_TIMEBASE, SR_T_RATIONAL_PERIOD, "Time base", "timebase"}, {SR_HWCAP_FILTER, SR_T_CHAR, "Filter targets", "filter"}, {0, 0, NULL, NULL}, }; diff --git a/sigrok.h.in b/sigrok.h.in index 7da26b2f..8ff1b092 100644 --- a/sigrok.h.in +++ b/sigrok.h.in @@ -143,7 +143,7 @@ enum { SR_T_CHAR, SR_T_BOOL, SR_T_FLOAT, - SR_T_RATIONAL, + SR_T_RATIONAL_PERIOD, }; struct sr_rational {