Victor 3 лет назад
Родитель
Сommit
41ff3dea1c
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      interfaces/SingleWireSensor.c

+ 2 - 1
interfaces/SingleWireSensor.c

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