Przeglądaj źródła

Fixed AM2320 loading

Victor 3 lat temu
rodzic
commit
41ff3dea1c
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      interfaces/SingleWireSensor.c

+ 2 - 1
interfaces/SingleWireSensor.c

@@ -47,7 +47,8 @@ const SensorType DHT22 = {
     .deinitializer = unitemp_singlewire_deinit,
     .updater = unitemp_singlewire_update};
 const SensorType AM2320_SW = {
-    .typename = "AM2320 (1W)",
+    .typename = "AM2320",
+    .altname = "AM2320 (single wire)",
     .interface = &SINGLE_WIRE,
     .datatype = UT_DATA_TYPE_TEMP_HUM,
     .pollingInterval = 2000,