]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/korad-kaxxxxp/protocol.h
korad-kaxxxxp: factor voltage/current capability out of models[] table
[libsigrok.git] / src / hardware / korad-kaxxxxp / protocol.h
index a0cbdca69cffca26bbcfdf1f7f533609ac79c7f5..c7b393c94ec60fdd9e8e1fc268965372cd50248b 100644 (file)
@@ -65,8 +65,8 @@ struct korad_kaxxxxp_model {
        const char *name; /**< Model name */
        const char *id; /**< Model ID, as delivered by interface */
        int channels; /**< Number of channels */
-       double voltage[3]; /**< Min, max, step */
-       double current[3]; /**< Min, max, step */
+       const double *voltage; /**< References: Min, max, step */
+       const double *current; /**< References: Min, max, step */
 };
 
 /* Reply targets */