Revision 8e095f02 Adafruit_BNO055.cpp

View differences:

Adafruit_BNO055.cpp
395 395
@brief  Reads the sensor's offset registers into a byte array
396 396
*/
397 397
/**************************************************************************/
398
bool Adafruit_BNO055::getSensorOffsets(int8_t* calibData)
398
bool Adafruit_BNO055::getSensorOffsets(uint8_t* calibData)
399 399
{
400 400
	if (isFullyCalibrated())
401 401
	{
......
450 450
@brief  Writes an array of calibration values to the sensor's offset registers
451 451
*/
452 452
/**************************************************************************/
453
void Adafruit_BNO055::setSensorOffsets(const int8_t* calibData)
453
void Adafruit_BNO055::setSensorOffsets(const uint8_t* calibData)
454 454
{
455 455
	adafruit_bno055_opmode_t lastMode = _mode;
456 456
	setMode(OPERATION_MODE_CONFIG);

Also available in: Unified diff