]> sigrok.org Git - libsigrok.git/commitdiff
agilent-dmm: fix model identifiers
authorBert Vermeulen <redacted>
Mon, 10 Sep 2012 19:27:50 +0000 (21:27 +0200)
committerBert Vermeulen <redacted>
Mon, 10 Sep 2012 19:27:50 +0000 (21:27 +0200)
hardware/agilent-dmm/agilent-dmm.h
hardware/agilent-dmm/api.c

index 978e13fabe9ce20e332a177e03290bd3ab8930d2..179d0013cfb4947102a1c0350484c843344c84d0 100644 (file)
 
 /* Supported models */
 enum {
-       AGILENT_U1232A = 1,
+       AGILENT_U1231A = 1,
+       AGILENT_U1232A,
+       AGILENT_U1233A,
+       AGILENT_U1251A,
+       AGILENT_U1252A,
+       AGILENT_U1253A,
 };
 
 /* Supported device profiles */
index 3d6c3350b7fedbf43ac24cc10297bed93fa09461..29e7d15f65446de241ac38bd1c78e6e04564d0ae 100644 (file)
@@ -53,12 +53,12 @@ extern const struct agdmm_job agdmm_jobs_u125x[];
 extern const struct agdmm_recv agdmm_recvs_u125x[];
 
 static const struct agdmm_profile supported_agdmm[] = {
-       { AGILENT_U1232A, "U1231A", 9600, agdmm_jobs_u123x, agdmm_recvs_u123x },
+       { AGILENT_U1231A, "U1231A", 9600, agdmm_jobs_u123x, agdmm_recvs_u123x },
        { AGILENT_U1232A, "U1232A", 9600, agdmm_jobs_u123x, agdmm_recvs_u123x },
-       { AGILENT_U1232A, "U1233A", 9600, agdmm_jobs_u123x, agdmm_recvs_u123x },
-       { AGILENT_U1232A, "U1251A", 9600, agdmm_jobs_u125x, agdmm_recvs_u125x },
-       { AGILENT_U1232A, "U1252A", 9600, agdmm_jobs_u125x, agdmm_recvs_u125x },
-       { AGILENT_U1232A, "U1253A", 9600, agdmm_jobs_u125x, agdmm_recvs_u125x },
+       { AGILENT_U1233A, "U1233A", 9600, agdmm_jobs_u123x, agdmm_recvs_u123x },
+       { AGILENT_U1251A, "U1251A", 9600, agdmm_jobs_u125x, agdmm_recvs_u125x },
+       { AGILENT_U1252A, "U1252A", 9600, agdmm_jobs_u125x, agdmm_recvs_u125x },
+       { AGILENT_U1253A, "U1253A", 9600, agdmm_jobs_u125x, agdmm_recvs_u125x },
        { 0, NULL, 0, NULL, NULL }
 };