diff options
Diffstat (limited to 'localwebsite/handlers/MiscHandler.php')
-rw-r--r-- | localwebsite/handlers/MiscHandler.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/localwebsite/handlers/MiscHandler.php b/localwebsite/handlers/MiscHandler.php index 983570f..10817e1 100644 --- a/localwebsite/handlers/MiscHandler.php +++ b/localwebsite/handlers/MiscHandler.php @@ -17,8 +17,8 @@ class MiscHandler extends RequestHandler global $config; $clients = []; - foreach ($config['si7021d_servers'] as $key => $params) { - $cl = new Si7021dClient(...$params); + foreach ($config['temphumd_servers'] as $key => $params) { + $cl = new TemphumdClient(...$params); $clients[$key] = $cl; $cl->readSensor(); |