Skip to content

Commit 7b0034c

Browse files
committed
Added few comments
1 parent da40f27 commit 7b0034c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/SparkFun_BNO080_Arduino_Library.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,12 @@ boolean BNO080::beginSPI(uint8_t user_CSPin, uint8_t user_WAKPin, uint8_t user_I
102102
//host. It must not send any other data until this step is complete.
103103
//When BNO080 first boots it broadcasts big startup packet
104104
//Read it and dump it
105-
waitForSPI();
105+
waitForSPI(); //Wait for assertion of INT before reading advert message.
106106
receivePacket();
107107

108108
//The BNO080 will then transmit an unsolicited Initialize Response (see 6.4.5.2)
109109
//Read it and dump it
110-
waitForSPI();
110+
waitForSPI(); //Wait for assertion of INT before reading Init response
111111
receivePacket();
112112

113113
//Check communication with device

0 commit comments

Comments
 (0)