Revision 5e9f001d

View differences:

Adafruit_BNO055.cpp
899 899
#endif
900 900
  }
901 901

  
902
  /* ToDo: Check for errors! */
903
  return true;
904
}
905

  
902 906
/*
903 907
 * @brief Explicit reset for the chip
904 908
 */
905
bool Adafruit_BNO055::reset() {
909
void Adafruit_BNO055::reset() {
906 910
  _wire->beginTransmission(_address);
907 911
  setMode(OPERATION_MODE_CONFIG);
908 912

  
......
913 917
  }
914 918
  delay(50);
915 919
}
916

  
917
  /* ToDo: Check for errors! */
918
  return true;
919
}
Adafruit_BNO055.h
284 284
                  TwoWire *theWire = &Wire);
285 285

  
286 286
  bool begin(adafruit_bno055_opmode_t mode = OPERATION_MODE_NDOF);
287
  void reset();
287 288
  void setMode(adafruit_bno055_opmode_t mode);
288 289
  void setAxisRemap(adafruit_bno055_axis_remap_config_t remapcode);
289 290
  void setAxisSign(adafruit_bno055_axis_remap_sign_t remapsign);

Also available in: Unified diff