analog: use correct unit for dBm/dBV
This commit is contained in:
parent
8f68f36bc5
commit
cdc311957b
|
@ -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). */
|
||||
|
|
|
@ -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" },
|
||||
|
|
Loading…
Reference in New Issue