diff options
Diffstat (limited to 'src/knutnet.h')
-rwxr-xr-x | src/knutnet.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/knutnet.h b/src/knutnet.h index f15ce4e..56e13ab 100755 --- a/src/knutnet.h +++ b/src/knutnet.h @@ -145,7 +145,7 @@ public: // this not error NoListVars}; //upsd doesn't return list of variables, variable for STATUS has got value WAIT - enum typeOftqStatus { + enum typeOfStatus { NS = 0, // - NONE status of UPS wasn't read OFF = 1, // - UPS is off (not supplying power) OL = 2, // - UPS is online (supplying power from the line/mains) @@ -481,7 +481,7 @@ bool switchedToTCP ( void ); * * @since 0.5 **/ -int readtqStatus(void); +int readStatus(void); /** |