forked from Archive/PX4-Autopilot
Kill last usleep()
This commit is contained in:
parent
774ff3db31
commit
f443b77ae9
|
@ -417,9 +417,6 @@ PX4FLOW::read(struct file *filp, char *buffer, size_t buflen)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* wait for it to complete */
|
|
||||||
usleep(PX4FLOW_CONVERSION_INTERVAL);
|
|
||||||
|
|
||||||
/* state machine will have generated a report, copy it out */
|
/* state machine will have generated a report, copy it out */
|
||||||
if (_reports->get(rbuf)) {
|
if (_reports->get(rbuf)) {
|
||||||
ret = sizeof(*rbuf);
|
ret = sizeof(*rbuf);
|
||||||
|
|
Loading…
Reference in New Issue