X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=output%2Fanalog.c;h=fbc41d88ffa9e52e1f010fcd705aeca52b203f16;hb=f774095496a5ab9b68ce79503ae7d45f717c0006;hp=bdb55733c492576d51e5ab72c7e1a5f4dfd2419d;hpb=dba3e6826e3d37309ed49dd77cde346b369bc5a9;p=libsigrok.git 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;