Skip to content

Commit 9e983de

Browse files
committed
Correcting debug prints
1 parent ad2327d commit 9e983de

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/SparkFun_BNO080_Arduino_Library.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1383,11 +1383,13 @@ boolean BNO080::waitForI2C(size_t expectedLength)
13831383
}
13841384

13851385
if (_printDebug == true)
1386+
{
13861387
_debugPort->print(F("waitForI2C: I2C timeout when expecting "));
13871388
_debugPort->print(expectedLength);
13881389
_debugPort->print(F(" bytes. "));
13891390
_debugPort->print(i2cAvailable);
13901391
_debugPort->println(F(" were available"));
1392+
}
13911393
return (false);
13921394
}
13931395

0 commit comments

Comments
 (0)