RAK3172 / MBedOs help (randomly not going to deep sleep)

Ok. This is exactly what I made:

In mbed-os/drivers/source/i2c.cpp

imagen

And in the driver of my I2C device (APDS9930) I call this method before the end of every read/write operation
imagen

1 Like