]> sigrok.org Git - libsigrok.git/blobdiff - src/conversion.c
scpi-dmm: add support to get/set range on Agilent protocol using meters
[libsigrok.git] / src / conversion.c
index 3d969308c4b4b15a3a00476ee9adbf67c02c4003..ae84f41b4d0a54bc28acefef05dacb5c71c46f04 100644 (file)
@@ -26,7 +26,9 @@
 #include <libsigrok/libsigrok.h>
 #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