analog: use correct unit for dBm/dBV

This commit is contained in:
Aurelien Jacobs 2016-09-11 19:18:19 +02:00 committed by Uwe Hermann
parent 8f68f36bc5
commit cdc311957b
2 changed files with 3 additions and 3 deletions

View File

@ -263,7 +263,7 @@ enum sr_unit {
SR_UNIT_SIEMENS,
/**
* An absolute measurement of power, in decibels, referenced to
* 1 milliwatt (dBu).
* 1 milliwatt (dBm).
*/
SR_UNIT_DECIBEL_MW,
/** Voltage in decibel, referenced to 1 volt (dBV). */

View 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" },