Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/SparkFun_BNO08x_Arduino_Library.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

#include "SparkFun_BNO08x_Arduino_Library.h"

int8_t _int_pin, _reset_pin;
int8_t _int_pin = -1, _reset_pin = -1;
static TwoWire *_i2cPort = NULL; //The generic connection to user's chosen I2C hardware
static SPIClass *_spiPort = NULL; //The generic connection to user's chosen SPI hardware
static uint8_t _deviceAddress = BNO08x_DEFAULT_ADDRESS; //Keeps track of I2C address. setI2CAddress changes this.
Expand Down Expand Up @@ -1653,4 +1653,4 @@ static bool spi_write(const uint8_t *buffer, size_t len,
_spiPort->endTransaction();

return true;
}
}