mirror of https://github.com/arendst/Tasmota.git
Minor correction to the description. Slightly simplified declaration of the sensor in the support_features.ino.
This commit is contained in:
parent
78a608dd44
commit
292698123b
|
@ -66,4 +66,4 @@ Index | Define | Driver | Device | Address(es) | Description
|
|||
42 | USE_DS1624 | xsns_59 | DS1624 | 0x48 - 0x4F | Temperature sensor
|
||||
43 | USE_AHT1x | xsns_63 | AHT10/15 | 0x38 | Temperature and humidity sensor
|
||||
44 | USE_WEMOS_MOTOR_V1 | xdrv_34 | | 0x2D - 0x30 | WEMOS motor shield v1.0.0 (6612FNG)
|
||||
92 | USE_HDC1080 | xsns_92 | HDC1080 | 0x40 | Digital Humidity Sensor with Temperature Sensor
|
||||
92 | USE_HDC1080 | xsns_92 | HDC1080 | 0x40 | Temperature and Humidity sensor
|
||||
|
|
|
@ -254,8 +254,8 @@ void GetFeatures(void)
|
|||
#ifdef USE_SHT
|
||||
feature_sns1 |= 0x00000100; // xsns_07_sht1x.ino
|
||||
#endif
|
||||
#ifdef USE_HTU
|
||||
feature_sns1 |= 0x00000200; // xsns_08_htu21.ino
|
||||
#if defined(USE_HTU) || defined(USE_HDC1080)
|
||||
feature_sns1 |= 0x00000200; // xsns_08_htu21.ino or xsns_92_hdc1080.ino
|
||||
#endif
|
||||
#ifdef USE_BMP
|
||||
feature_sns1 |= 0x00000400; // xsns_09_bmp.ino
|
||||
|
@ -323,10 +323,6 @@ void GetFeatures(void)
|
|||
#ifdef USE_TM1638
|
||||
feature_sns1 |= 0x80000000; // xsns_28_tm1638.ino
|
||||
#endif
|
||||
// TODO not sure if is the correct feature setting for this sensor:
|
||||
#ifdef USE_HDC1080
|
||||
feature_sns1 |= 0x00000200; // xsns_92_hdc1080.ino
|
||||
#endif
|
||||
/*********************************************************************************************/
|
||||
|
||||
feature_sns2 = 0x00000000;
|
||||
|
|
Loading…
Reference in New Issue