X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fanalog.c;h=a0a48de9754115647f90c0ea844683aa5a5db719;hb=91ef511db2370904f8765a13e315fbddaf5ffe07;hp=01704fd7b5ba893e71e397a4ed1bf531b80c898e;hpb=90cefe0cc7d498ed8a8c7cdb1e95c16296ca5059;p=libsigrok.git diff --git a/src/analog.c b/src/analog.c index 01704fd7..a0a48de9 100644 --- a/src/analog.c +++ b/src/analog.c @@ -21,10 +21,26 @@ #include #include #include -#include "libsigrok.h" +#include #include "libsigrok-internal.h" +/** @cond PRIVATE */ #define LOG_PREFIX "analog" +/** @endcond */ + +/** + * @file + * + * Handling and converting analog data. + */ + +/** + * @defgroup grp_analog Analog data handling + * + * Handling and converting analog data. + * + * @{ + */ struct unit_mq_string { uint64_t value; @@ -235,9 +251,10 @@ SR_API int sr_analog_unit_to_string(const struct sr_datafeed_analog2 *analog, * @param p Numerator * @param q Denominator */ -SR_API inline void sr_rational_set(struct sr_rational *r, uint64_t p, uint64_t q) +SR_API void sr_rational_set(struct sr_rational *r, uint64_t p, uint64_t q) { r->p = p; r->q = q; } +/** @} */