summaryrefslogtreecommitdiff
path: root/localwebsite/classes/config.php
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-11-21 03:51:37 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-11-21 03:51:37 +0300
commit35eec7f8126801a02008d405624927099ca53e5e (patch)
tree6bf89eaeb7674866b9f9918d4e22511d68481bd1 /localwebsite/classes/config.php
parent80bca2085f1cc177ea5060b6f1f23cab19e9f410 (diff)
lws: fix for malfunctioning si7021 sensor
Diffstat (limited to 'localwebsite/classes/config.php')
-rw-r--r--localwebsite/classes/config.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/localwebsite/classes/config.php b/localwebsite/classes/config.php
index 87ecf1c..927321e 100644
--- a/localwebsite/classes/config.php
+++ b/localwebsite/classes/config.php
@@ -2,6 +2,9 @@
class config {
+ const TEMPHUMD_NO_TEMP = 1 << 0;
+ const TEMPHUMD_NO_HUM = 1 << 1;
+
public static function get(string $key) {
global $config;
return is_callable($config[$key]) ? $config[$key]() : $config[$key];