]> sigrok.org Git - libsigrok.git/blobdiff - src/analog.c
libsigrok.h: Add Joule, Coulomb, and Ah units.
[libsigrok.git] / src / analog.c
index a471f642af96dc60faae02cf1dc662d2c43b47c4..2a8e8d9054cfdd8bc691bb2e5e95534a0c50c0c7 100644 (file)
@@ -88,6 +88,9 @@ static struct unit_mq_string unit_strings[] = {
        { SR_UNIT_MOMME, "momme" },
        { SR_UNIT_TOLA, "tola" },
        { SR_UNIT_PIECE, "pcs" },
+       { SR_UNIT_JOULE, "J" },
+       { SR_UNIT_COULOMB, "C" },
+       { SR_UNIT_AMPERE_HOUR, "Ah" },
        ALL_ZERO
 };