summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a61396e)
raw | patch | inline | side by side (parent: a61396e)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sun, 4 Feb 2007 09:18:18 +0000 (10:18 +0100) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sun, 4 Feb 2007 09:18:18 +0000 (10:18 +0100) |
src/apcups.c | patch | blob | history | |
src/battery.c | patch | blob | history |
diff --git a/src/apcups.c b/src/apcups.c
index 1eddcd5e9c1bb3506a9f2ca3d9a433355229daa7..3060e18c8a66965fbf5955b8fb48bc03e4fa39b3 100644 (file)
--- a/src/apcups.c
+++ b/src/apcups.c
*/
static data_source_t data_source_voltage[1] =
{
- {"voltage", DS_TYPE_GAUGE, NAN, NAN}
+ {"value", DS_TYPE_GAUGE, NAN, NAN}
};
static data_set_t ds_voltage =
diff --git a/src/battery.c b/src/battery.c
index 64ff994a4144079269a84a6c680207678a79633b..e52c2c80657d9c97f114116202fee105a38ae1eb 100644 (file)
--- a/src/battery.c
+++ b/src/battery.c
static data_source_t data_source_charge[1] =
{
- {"charge", DS_TYPE_GAUGE, 0, NAN}
+ {"value", DS_TYPE_GAUGE, 0, NAN}
};
static data_set_t charge_ds =
static data_source_t data_source_current[1] =
{
- {"current", DS_TYPE_GAUGE, NAN, NAN}
+ {"value", DS_TYPE_GAUGE, NAN, NAN}
};
static data_set_t current_ds =
static data_source_t data_source_voltage[1] =
{
- {"voltage", DS_TYPE_GAUGE, NAN, NAN}
+ {"value", DS_TYPE_GAUGE, NAN, NAN}
};
static data_set_t voltage_ds =