diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-11-21 03:51:37 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-11-21 03:51:37 +0300 |
commit | 35eec7f8126801a02008d405624927099ca53e5e (patch) | |
tree | 6bf89eaeb7674866b9f9918d4e22511d68481bd1 /localwebsite/classes/config.php | |
parent | 80bca2085f1cc177ea5060b6f1f23cab19e9f410 (diff) |
lws: fix for malfunctioning si7021 sensor
Diffstat (limited to 'localwebsite/classes/config.php')
-rw-r--r-- | localwebsite/classes/config.php | 3 |
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]; |