summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 825058c)
raw | patch | inline | side by side (parent: 825058c)
author | Alex Deymo <deymo@chromium.org> | |
Tue, 3 Sep 2013 07:18:26 +0000 (00:18 -0700) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Sat, 21 Sep 2013 08:13:23 +0000 (10:13 +0200) |
The percentage values are now reported as "percent" and the "flow"
type is included in the types.db list.
type is included in the types.db list.
src/aquaero.c | patch | blob | history | |
src/types.db | patch | blob | history |
diff --git a/src/aquaero.c b/src/aquaero.c
index 84c797bcdb39eeb9faa457d1a7f51c7675c2f62e..5db988e60663f56c39c796596176ff587088c046 100644 (file)
--- a/src/aquaero.c
+++ b/src/aquaero.c
aquaero_submit ("fanspeed", type_instance,
aq_data.fan_rpm[i]);
- aquaero_submit ("percentage", type_instance,
+ aquaero_submit ("percent", type_instance,
aq_data.fan_duty[i]);
aquaero_submit ("voltage", type_instance,
aq_data.fan_voltage[i]);
aquaero_submit_array("flow", "sensor", aq_data.flow, AQ5_NUM_FLOW);
/* Liquid level */
- aquaero_submit_array("percentage", "waterlevel",
+ aquaero_submit_array("percent", "waterlevel",
aq_data.level, AQ5_NUM_LEVEL);
return (0);
diff --git a/src/types.db b/src/types.db
index 3a5e207a7e99d6cea56e15d0c85f98e7312135f6..8c72429d3935a99b92f73ffaad9ef75ed8ab1dd0 100644 (file)
--- a/src/types.db
+++ b/src/types.db
fanspeed value:GAUGE:0:U
file_size value:GAUGE:0:U
files value:GAUGE:0:U
+flow value:GAUGE:0:U
fork_rate value:DERIVE:0:U
frequency_offset value:GAUGE:-1000000:1000000
frequency value:GAUGE:0:U