AP_InertialSensor: fixed a build warning

This commit is contained in:
Andrew Tridgell 2014-08-08 13:31:08 +10:00
parent 4f57467aa5
commit 1d4d848300

View File

@ -10,8 +10,6 @@ bool AP_InertialSensor_UserInteractStream::blocking_read()
while(!_s->available()) {
hal.scheduler->delay(20);
}
/* Grab first character */
uint8_t ret = (uint8_t) _s->read();
/* Clear all available input */
while (_s->available()) {
_s->read();