esp-idf-lib
esp-idf-lib copied to clipboard
MPU6050 fifo read bug
Hi,
Been trying the libraries and found that:
https://github.com/UncleRus/esp-idf-lib/blob/1abe2e5194b1a45c8878229ad893a058816cdd18/components/mpu6050/mpu6050.c#L1204
should be:
I2C_DEV_CHECK(&dev->i2c_dev, i2c_dev_read_reg(&dev->i2c_dev, MPU6050_REGISTER_FIFO_R_W, data, length));