Refactor USE_AHT2x

This commit is contained in:
Theo Arends 2021-09-20 15:30:12 +02:00
parent e31fbcf283
commit 84b7acc059
4 changed files with 5 additions and 5 deletions

View File

@ -509,7 +509,7 @@ void ResponseAppendFeatures(void)
#if defined(USE_ENERGY_SENSOR) && defined(USE_LE01MR)
feature5 |= 0x08000000; // xnrg_13_fif_le01mr.ino
#endif
#if defined(USE_I2C) && defined(USE_AHT1x)
#if defined(USE_I2C) && (defined(USE_AHT1x) || defined(USE_AHT2x))
feature5 |= 0x10000000; // xsns_63_aht1x.ino
#endif
#if defined(USE_I2C) && defined(USE_WEMOS_MOTOR_V1)