]> sigrok.org Git - libsigrok.git/blobdiff - src/analog.c
Various key lists: Add reminders of what needs updates upon changes.
[libsigrok.git] / src / analog.c
index 2116ad7585af721b53e7511beea9ad57a85bbb78..dfb38cec5a43749e5014f80b9b259f9c65640e95 100644 (file)
@@ -47,6 +47,7 @@ struct unit_mq_string {
        char *str;
 };
 
+/* Please use the same order as in enum sr_unit (libsigrok.h). */
 static struct unit_mq_string unit_strings[] = {
        { SR_UNIT_VOLT, "V" },
        { SR_UNIT_AMPERE, "A" },
@@ -88,6 +89,7 @@ static struct unit_mq_string unit_strings[] = {
        ALL_ZERO
 };
 
+/* Please use the same order as in enum sr_mqflag (libsigrok.h). */
 static struct unit_mq_string mq_strings[] = {
        { SR_MQFLAG_AC, " AC" },
        { SR_MQFLAG_DC, " DC" },