From: Bert Vermeulen Date: Sat, 5 Jul 2014 19:47:21 +0000 (+0200) Subject: Add printers for wind speed, pressure and humidity at 293 kelvin. X-Git-Tag: libsigrok-0.4.0~1270 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=543d041dc16c134db18f34764cfd134335d04be2;p=libsigrok.git Add printers for wind speed, pressure and humidity at 293 kelvin. --- diff --git a/output/analog.c b/output/analog.c index bdb55733..fbc41d88 100644 --- a/output/analog.c +++ b/output/analog.c @@ -178,6 +178,15 @@ static void fancyprint(int unit, int mqflags, float value, GString *out) case SR_UNIT_WATT_HOUR: si_printf(value, out, "Wh"); break; + case SR_UNIT_METER_SECOND: + si_printf(value, out, "m/s"); + break; + case SR_UNIT_HECTOPASCAL: + si_printf(value, out, "hPa"); + break; + case SR_UNIT_HUMIDITY_293K: + si_printf(value, out, "%rF"); + break; default: si_printf(value, out, ""); break;