mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
AP_InertialSensor: fixed a build warning
This commit is contained in:
parent
4f57467aa5
commit
1d4d848300
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user