1
0
mirror of https://github.com/richardghirst/PiBits.git synced 2025-02-21 15:54:15 +01:00
Grab 6050 fix
This commit is contained in:
Richard Hirst 2014-01-03 10:11:20 +00:00
commit e62579ecb7

View File

@ -414,6 +414,7 @@ uint8_t MPU6050::dmpInitialize() {
printf("Current FIFO count=%d\n", fifoCount); printf("Current FIFO count=%d\n", fifoCount);
DEBUG_PRINTLN(fifoCount); DEBUG_PRINTLN(fifoCount);
if (fifoCount > 0)
getFIFOBytes(fifoBuffer, fifoCount); getFIFOBytes(fifoBuffer, fifoCount);
DEBUG_PRINTLN(F("Setting motion detection threshold to 2...")); DEBUG_PRINTLN(F("Setting motion detection threshold to 2..."));