Skip to content

Commit fdadced

Browse files
committed
Fixed MPU6886 Init I2C error
1 parent e2a0a3b commit fdadced

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utility/MPU6886.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ int MPU6886::Init(void) {
2323
Gyscale = GFS_2000DPS;
2424
Acscale = AFS_8G;
2525

26-
Wire1.begin(21,22);
26+
Wire.begin(21,22);
2727

2828
I2C_Read_NBytes(MPU6886_ADDRESS, MPU6886_WHOAMI, 1, tempdata);
2929
imuId = tempdata[0];

0 commit comments

Comments
 (0)