mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-09-12 01:24:04 +00:00
[I2C] Disable calls to wire.begin() from libraries
This commit is contained in:
@@ -57,7 +57,7 @@ bool SparkFun_APDS9960::init()
|
||||
uint8_t id;
|
||||
|
||||
/* Initialize I2C */
|
||||
Wire.begin();
|
||||
//Wire.begin(); called in ESPEasy framework
|
||||
|
||||
/* Read ID register and check against known values for APDS-9960 */
|
||||
if( !wireReadDataByte(APDS9960_ID, id) ) {
|
||||
|
||||
Reference in New Issue
Block a user