]> sigrok.org Git - libsigrok.git/blobdiff - hwdriver.c
output/analog: add revolutions per minute unit
[libsigrok.git] / hwdriver.c
index c5a78476e6392f83b738b792bf30a662390adb8c..bb4c0d566a637719d8725c05591d8d400da7f9dd 100644 (file)
@@ -65,6 +65,8 @@ static struct sr_config_info sr_config_info_data[] = {
                "Trigger types", NULL},
        {SR_CONF_EXTERNAL_CLOCK, SR_T_BOOL, "external_clock",
                "External clock mode", NULL},
+       {SR_CONF_SWAP, SR_T_BOOL, "swap",
+               "Swap channel order", NULL},
        {SR_CONF_RLE, SR_T_BOOL, "rle",
                "Run Length Encoding", NULL},
        {SR_CONF_TRIGGER_SLOPE, SR_T_UINT64, "triggerslope",
@@ -437,7 +439,8 @@ SR_PRIV void sr_hw_cleanup_all(void)
        }
 }
 
-/** A floating reference can be passed in for data. */
+/** A floating reference can be passed in for data.
+ * @private */
 SR_PRIV struct sr_config *sr_config_new(int key, GVariant *data)
 {
        struct sr_config *src;
@@ -450,6 +453,7 @@ SR_PRIV struct sr_config *sr_config_new(int key, GVariant *data)
        return src;
 }
 
+/** @private */
 SR_PRIV void sr_config_free(struct sr_config *src)
 {