Merge pull request #8137 from blakadder/fix-apds

remove deprecated function
This commit is contained in:
Theo Arends 2020-04-11 18:41:08 +02:00 committed by GitHub
commit ca6553cbfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 12 deletions

View File

@ -39,18 +39,18 @@
#define XSNS_27 27 #define XSNS_27 27
#define XI2C_21 21 // See I2CDEVICES.md #define XI2C_21 21 // See I2CDEVICES.md
#if defined(USE_SHT) || defined(USE_VEML6070) || defined(USE_TSL2561) // #if defined(USE_SHT) || defined(USE_VEML6070) || defined(USE_TSL2561)
#warning **** Turned off conflicting drivers SHT and VEML6070 **** // #warning **** Turned off conflicting drivers SHT and VEML6070 ****
#ifdef USE_SHT // #ifdef USE_SHT
#undef USE_SHT // SHT-Driver blocks gesture sensor // #undef USE_SHT // SHT-Driver blocks gesture sensor
#endif // #endif
#ifdef USE_VEML6070 // #ifdef USE_VEML6070
#undef USE_VEML6070 // address conflict on the I2C-bus // #undef USE_VEML6070 // address conflict on the I2C-bus
#endif // #endif
#ifdef USE_TSL2561 // #ifdef USE_TSL2561
#undef USE_TSL2561 // possible address conflict on the I2C-bus // #undef USE_TSL2561 // possible address conflict on the I2C-bus
#endif // #endif
#endif // #endif
#define APDS9960_I2C_ADDR 0x39 #define APDS9960_I2C_ADDR 0x39