Skip to content

Commit feb3021

Browse files
committed
Missed one return statement
1 parent 02c457f commit feb3021

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SparkFun_BNO080_Arduino_Library.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ uint16_t BNO080::getReadings(void)
184184
if (_int != 255)
185185
{
186186
if (digitalRead(_int) == HIGH)
187-
return (false);
187+
return 0;
188188
}
189189

190190
if (receivePacket() == true)

0 commit comments

Comments
 (0)