AP_InertialSensor: fix data_ready return for L3GD20

This commit is contained in:
Andrew Tridgell 2014-08-19 10:14:20 +10:00
parent 21ff578cb0
commit 12239de00d
1 changed files with 2 additions and 0 deletions

View File

@ -286,6 +286,8 @@ bool AP_InertialSensor_L3GD20::_data_ready()
if (_drdy_pin) {
return _drdy_pin->read() != 0;
}
// TODO: read status register
return false;
}
/**