Skip to content

Commit 8dae125

Browse files
authored
Merge pull request #10 from sparkfun/develop
just moving up release branch
2 parents 5a91894 + 461a7ea commit 8dae125

File tree

4 files changed

+154
-303
lines changed

4 files changed

+154
-303
lines changed

src/sfTk/sfDevXM125Core.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ sfTkError_t sfDevXM125Core::begin(sfTkII2C *theBus)
3131
// Sets communication bus
3232
_theBus = theBus;
3333

34+
// set the byte order to BIG Endian - the sensor works with Big E
35+
_theBus->setByteOrder(sfTkByteOrder::BigEndian);
36+
3437
// return the value of ping
3538
return theBus->ping();
3639
}

0 commit comments

Comments
 (0)