]> sigrok.org Git - libsigrok.git/blobdiff - src/analog.c
analog: use correct unit for dBm/dBV
[libsigrok.git] / src / analog.c
index e2966875c3bbfb8c55212b19cd9ec2a110163347..a8ca3bce650424165227546b534924081dfbef3c 100644 (file)
@@ -63,8 +63,8 @@ static struct unit_mq_string unit_strings[] = {
        { SR_UNIT_BOOLEAN, "" },
        { SR_UNIT_SECOND, "s" },
        { SR_UNIT_SIEMENS, "S" },
-       { SR_UNIT_DECIBEL_MW, "dBu" },
-       { SR_UNIT_DECIBEL_VOLT, "dBv" },
+       { SR_UNIT_DECIBEL_MW, "dBm" },
+       { SR_UNIT_DECIBEL_VOLT, "dBV" },
        { SR_UNIT_UNITLESS, "" },
        { SR_UNIT_DECIBEL_SPL, "dB" },
        { SR_UNIT_CONCENTRATION, "ppm" },