summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: feaebec)
raw | patch | inline | side by side (parent: feaebec)
author | Florian Forster <octo@huhu.verplant.org> | |
Tue, 11 Sep 2007 09:14:56 +0000 (11:14 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Tue, 11 Sep 2007 09:14:56 +0000 (11:14 +0200) |
They still had an `apcups_' prefix which isn't legal anymore.
src/apcups.c | patch | blob | history |
diff --git a/src/apcups.c b/src/apcups.c
index 75de03e82a82072c27a990f77804c2c1ca5a7fc2..a4aa34df7e29112a68070726bb0539a822ee7a60 100644 (file)
--- a/src/apcups.c
+++ b/src/apcups.c
static void apc_submit (struct apc_detail_s *apcups_detail)
{
- apc_submit_generic ("apcups_voltage", "input", apcups_detail->linev);
- apc_submit_generic ("apcups_voltage", "output", apcups_detail->outputv);
- apc_submit_generic ("apcups_voltage", "battery", apcups_detail->battv);
- apc_submit_generic ("apcups_charge", "", apcups_detail->bcharge);
- apc_submit_generic ("apcups_charge_pct", "", apcups_detail->loadpct);
- apc_submit_generic ("apcups_timeleft", "", apcups_detail->timeleft);
- apc_submit_generic ("apcups_temp", "", apcups_detail->itemp);
- apc_submit_generic ("apcups_frequency", "input", apcups_detail->linefreq);
+ apc_submit_generic ("voltage", "input", apcups_detail->linev);
+ apc_submit_generic ("voltage", "output", apcups_detail->outputv);
+ apc_submit_generic ("voltage", "battery", apcups_detail->battv);
+ apc_submit_generic ("charge", "", apcups_detail->bcharge);
+ apc_submit_generic ("percent", "charge", apcups_detail->loadpct);
+ apc_submit_generic ("timeleft", "", apcups_detail->timeleft);
+ apc_submit_generic ("temperature", "", apcups_detail->itemp);
+ apc_submit_generic ("frequency", "input", apcups_detail->linefreq);
}
static int apcups_read (void)