Explorar o código

Fixed AM2320 loading

Victor %!s(int64=3) %!d(string=hai) anos
pai
achega
41ff3dea1c
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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,