adafruit / Adafruit_LSM6DS

Arduino library for LSM6DS
Other
50 stars 41 forks source link

add private _init() so SPI also uses it #2

Closed ladyada closed 4 years ago

ladyada commented 4 years ago

refactor https://github.com/adafruit/Adafruit_LSM6DSOX/blob/master/Adafruit_LSM6DSOX.cpp#L65 to _init()

SPI does not reset/init the chip when used, add to spi begin