Skip to content

Commit fa686db

Browse files
committed
Changes bit order parameter to MSBFIRST for ESP32 and ESP8266 platforms
* Rolls version
1 parent e881b23 commit fa686db

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

library.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=SparkFun LSM6DS3 Breakout
2-
version=1.0.2
2+
version=1.0.3
33
author=SparkFun Electronics <[email protected]>
44
maintainer=SparkFun Electronics <sparkfun.com>
55
sentence=A library to drive the STmicro LSM6DS3 by SPI or I2C.

src/SparkFunLSM6DS3.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ status_t LSM6DS3Core::beginCore(void)
7878
mySpiSettings = SPISettings(spiPortSpeed, MSB_FIRST, SPI_MODE1);
7979
#endif
8080
#if defined(ESP32) || defined(ESP8266)
81-
mySpiSettings = SPISettings(spiPortSpeed, MSB_FIRST, SPI_MODE1);
81+
mySpiSettings = SPISettings(spiPortSpeed, MSBFIRST, SPI_MODE1);
8282
#endif
8383
#ifdef __MK20DX256__
8484
mySpiSettings = SPISettings(spiPortSpeed, MSB_FIRST, SPI_MODE0);

0 commit comments

Comments
 (0)