mirror of
https://github.com/richardghirst/PiBits.git
synced 2025-02-20 14:54:14 +01:00
Merge branch 'master' of https://github.com/richardghirst/PiBits
Grab 6050 fix
This commit is contained in:
commit
e62579ecb7
@ -414,7 +414,8 @@ uint8_t MPU6050::dmpInitialize() {
|
|||||||
|
|
||||||
printf("Current FIFO count=%d\n", fifoCount);
|
printf("Current FIFO count=%d\n", fifoCount);
|
||||||
DEBUG_PRINTLN(fifoCount);
|
DEBUG_PRINTLN(fifoCount);
|
||||||
getFIFOBytes(fifoBuffer, fifoCount);
|
if (fifoCount > 0)
|
||||||
|
getFIFOBytes(fifoBuffer, fifoCount);
|
||||||
|
|
||||||
DEBUG_PRINTLN(F("Setting motion detection threshold to 2..."));
|
DEBUG_PRINTLN(F("Setting motion detection threshold to 2..."));
|
||||||
setMotionDetectionThreshold(2);
|
setMotionDetectionThreshold(2);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user