X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=blobdiff_plain;f=src%2Fconversion.c;h=ae84f41b4d0a54bc28acefef05dacb5c71c46f04;hp=26af3d9c3a303da9e466ce04b18aa9226cf36eca;hb=2622b4297fd4cc4bed5c06bb6ae0aaa8b40e0ece;hpb=82b9f3d116ce0c982291a2dfdd15cd8a1c4cc16e diff --git a/src/conversion.c b/src/conversion.c index 26af3d9c..ae84f41b 100644 --- a/src/conversion.c +++ b/src/conversion.c @@ -69,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