From cbfd2e1db7ea385f239feb8b3f9b0313ec2f801e Mon Sep 17 00:00:00 2001 From: Jean-Pierre Deschamps Date: Fri, 26 Aug 2022 10:07:57 -0400 Subject: [PATCH] Put USE_SGP40 at the correct place in decode-status Remove used line from support_features.ino --- tasmota/tasmota_support/support_features.ino | 1 - tools/decode-status.py | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tasmota/tasmota_support/support_features.ino b/tasmota/tasmota_support/support_features.ino index 97104692c..5341e07f3 100644 --- a/tasmota/tasmota_support/support_features.ino +++ b/tasmota/tasmota_support/support_features.ino @@ -828,7 +828,6 @@ void ResponseAppendFeatures(void) #if defined(USE_I2C) && defined(USE_SGP40) feature9 |= 0x00000001; // xsns_98_sgp40.ino #endif -// feature9 |= 0x00000001; // feature9 |= 0x00000002; // feature9 |= 0x00000004; // feature9 |= 0x00000008; diff --git a/tools/decode-status.py b/tools/decode-status.py index 54f8cd666..8923981d3 100755 --- a/tools/decode-status.py +++ b/tools/decode-status.py @@ -236,7 +236,7 @@ a_features = [[ "USE_BH1750","USE_VEML6070","USE_ADS1115_I2CDEV","USE_ADS1115", "USE_INA219","USE_SHT3X","USE_MHZ19","USE_TSL2561", "USE_SENSEAIR","USE_PMS5003","USE_MGS","USE_NOVA_SDS", - "USE_SGP30","USE_SGP40","USE_SR04","USE_SDM120","USE_SI1145", + "USE_SGP30","USE_SR04","USE_SDM120","USE_SI1145", "USE_SDM630","USE_LM75AD","USE_APDS9960","USE_TM1638" ],[ "USE_MCP230xx","USE_MPR121","USE_CCS811","USE_MPU6050", @@ -284,7 +284,7 @@ a_features = [[ "USE_PCF85363","USE_DS3502","USE_IMPROV","USE_FLOWRATEMETER", "USE_BP5758D","USE_HYT","USE_SM2335","USE_DISPLAY_TM1621_SONOFF" ],[ - "","","","", + "USE_SGP40","","","", "","","","", "","","","", "","","","",