]> sigrok.org Git - libsigrok.git/blobdiff - hardware/hantek-dso/dso.h
hantek-dso: support for SR_HWCAP_COUPLING
[libsigrok.git] / hardware / hantek-dso / dso.h
index 53d953e12fa4f024576532ee6722f3351d06df3e..145f584bae6034893bf04cf629751f66447a1570 100644 (file)
@@ -72,12 +72,14 @@ enum dso_commands {
        cmdGetLogicalData
 };
 
+/* Must match the coupling table. */
 enum couplings {
        COUPLING_AC = 0,
        COUPLING_DC,
-       COUPLING_OFF
+       COUPLING_GND
 };
 
+/* Must match the timebases table. */
 enum time_bases {
        TIME_10us = 0,
        TIME_20us,
@@ -96,7 +98,7 @@ enum time_bases {
        TIME_400ms
 };
 
-/* Must match the vdivs table, these are just handy indexes into it. */
+/* Must match the vdivs table. */
 enum {
        VDIV_10MV,
        VDIV_20MV,