Need return statement in begin.
This commit is contained in:
parent
c851c29f54
commit
51d87322b0
1 changed files with 2 additions and 1 deletions
|
|
@ -16,6 +16,7 @@ bool Adafruit_9DOF::begin() {
|
|||
if (!_gyro.begin()) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Adafruit_Sensor* Adafruit_9DOF::getSensor(sensors_type_t type) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue