]> sigrok.org Git - libsigrok.git/blobdiff - libsigrok.h
fx2lafw: Rename trigger constant.
[libsigrok.git] / libsigrok.h
index 4a81b96d371b1ce265da25b133894b84556a78ae..abcc28958fbb1a85085105cb73d0481560f615e6 100644 (file)
@@ -41,9 +41,9 @@ extern "C" {
  *
  * The correct way to get/use the libsigrok API functions is:
  *
  @code{.c}
    #include <libsigrok/libsigrok.h>
  @endcode
* @code{.c}
*   #include <libsigrok/libsigrok.h>
* @endcode
  */
 
 /*
@@ -137,7 +137,7 @@ typedef int (*sr_receive_data_callback)(int fd, int revents, void *cb_data);
 /** Data types used by sr_config_info(). */
 enum sr_datatype {
        SR_T_UINT64 = 10000,
-       SR_T_CHAR,
+       SR_T_STRING,
        SR_T_BOOL,
        SR_T_FLOAT,
        SR_T_RATIONAL_PERIOD,
@@ -236,7 +236,7 @@ enum sr_unit {
         * a unitless quantity, for example.
         */
        SR_UNIT_UNITLESS,
-       /** Sound pressure level relative so 20 micropascals. */
+       /** Sound pressure level, in decibels, relative to 20 micropascals. */
        SR_UNIT_DECIBEL_SPL,
        /**
         * Normalized (0 to 1) concentration of a substance or compound with 0
@@ -569,7 +569,7 @@ struct sr_config {
 struct sr_config_info {
        /** Config key like SR_CONF_CONN, etc. */
        int key;
-       /** Data type like SR_T_CHAR, etc. */
+       /** Data type like SR_T_STRING, etc. */
        int datatype;
        /** Id string, e.g. "serialcomm". */
        char *id;