disable SHT pig on i2c / add missing GT911 defines (#18595)

* disable SHT pig on i2c / add missing GT911

* GT911 missing in config
This commit is contained in:
Jason2866 2023-05-07 15:32:15 +02:00 committed by GitHub
parent a46b926530
commit eccc1af0a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -306,6 +306,7 @@
#define SHOW_SPLASH
#define USE_XPT2046
#define USE_FT5206
#define USE_GT911
#define USE_MPU_ACCEL
#define USE_RTC_CHIPS // Enable RTC chip support and NTP server - Select only one
#define USE_BM8563
@ -357,7 +358,7 @@
#define USE_I2C // I2C using library wire (+10k code, 0k2 mem, 124 iram)
#undef USE_MLX90614
#define USE_SHT // [I2cDriver8] Enable SHT1X sensor (+1k4 code)
//#define USE_SHT // [I2cDriver8] Enable SHT1X sensor (+1k4 code)
#define USE_HTU // [I2cDriver9] Enable HTU21/SI7013/SI7020/SI7021 sensor (I2C address 0x40) (+1k5 code)
#define USE_BMP // [I2cDriver10] Enable BMP085/BMP180/BMP280/BME280 sensors (I2C addresses 0x76 and 0x77) (+4k4 code)
// #define USE_BME68X // Enable support for BME680/BME688 sensor using Bosch BME68x library (+6k9 code)

View File

@ -73,7 +73,7 @@ int be_ntv_display_dimmer(struct bvm *vm) {
}
void be_ntv_display_touch_update(int32_t touches, int32_t raw_x, int32_t raw_y, int32_t gesture) {
#if defined(USE_LVGL_TOUCHSCREEN) || defined(USE_FT5206) || defined(USE_XPT2046) || defined(USE_LILYGO47) || defined(USE_TOUCH_BUTTONS)
#if defined(USE_LVGL_TOUCHSCREEN) || defined(USE_FT5206) || defined(USE_XPT2046) || defined(USE_GT911) || defined(USE_LILYGO47) || defined(USE_TOUCH_BUTTONS)
Touch_SetStatus(touches, raw_x, raw_y, gesture);
#endif
}