summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4058f2a)
raw | patch | inline | side by side (parent: 4058f2a)
author | Bert Vermeulen <bert@biot.com> | |
Wed, 31 Jul 2013 09:29:53 +0000 (11:29 +0200) | ||
committer | Bert Vermeulen <bert@biot.com> | |
Wed, 31 Jul 2013 09:29:53 +0000 (11:29 +0200) |
src/sigrok.c | patch | blob | history | |
src/types.db | patch | blob | history |
diff --git a/src/sigrok.c b/src/sigrok.c
index 7e2fa6c1b29ca2990dd5362d4164b69db67bc1df..001830d46d818ede7afd310912ede883b68471a6 100644 (file)
--- a/src/sigrok.c
+++ b/src/sigrok.c
s = "temperature";
else if (analog->mq == SR_MQ_RELATIVE_HUMIDITY)
s = "humidity";
+ else if (analog->mq == SR_MQ_SOUND_PRESSURE_LEVEL)
+ s = "spl";
else
s = "gauge";
diff --git a/src/types.db b/src/types.db
index f1d30f0d1a17df08e41124ce73bac2fde3c0e240..173c641e49642c4e4c69c5b4fa9d28ef6070943d 100644 (file)
--- a/src/types.db
+++ b/src/types.db
snr value:GAUGE:0:U
spam_check value:GAUGE:0:U
spam_score value:GAUGE:U:U
+spl value:GAUGE:U:U
swap_io value:DERIVE:0:U
swap value:GAUGE:0:1099511627776
tcp_connections value:GAUGE:0:4294967295