X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fconversion.c;h=ae84f41b4d0a54bc28acefef05dacb5c71c46f04;hb=dedaeacad0ef889506b79a8bed634140da28aa72;hp=3d969308c4b4b15a3a00476ee9adbf67c02c4003;hpb=6ad2fbaad2722f0aa18c3600cdbdddf812784b2d;p=libsigrok.git diff --git a/src/conversion.c b/src/conversion.c index 3d969308..ae84f41b 100644 --- a/src/conversion.c +++ b/src/conversion.c @@ -26,7 +26,9 @@ #include #include "libsigrok-internal.h" +/** @cond PRIVATE */ #define LOG_PREFIX "conv" +/** @endcond */ /** * Convert analog values to logic values by using a fixed threshold. @@ -67,7 +69,7 @@ SR_API int sr_a2l_threshold(const struct sr_datafeed_analog *analog, * * @param analog The analog input values. * @param lo_thr The low threshold - result becomes 0 below it. - * @param lo_thr The high threshold - result becomes 1 above it. + * @param hi_thr The high threshold - result becomes 1 above it. * @param state The internal converter state. Must contain the state of logic * sample n-1, will contain the state of logic sample n+count upon exit. * @param output The converted output values; either 0 or 1. Must provide