AP_HAL_Linux: add TODO to AnalogIn_Raspilot

This is especially bad for raspilot since it has a spi bus shared for
all the peripherals.
This commit is contained in:
Lucas De Marchi 2016-11-21 18:11:05 -02:00
parent 87c6d5da13
commit f9b0f9164a
1 changed files with 2 additions and 0 deletions

View File

@ -97,6 +97,8 @@ bool AnalogIn_Raspilot::_update()
/* set raspilotio to read reg4 */
_dev->transfer((uint8_t *)&tx, sizeof(tx), (uint8_t *)&rx, sizeof(rx));
// TODO: should not delay for such huge values: converting this to a
// state-machine like driver would be better, adjusting the callback timer
hal.scheduler->delay_microseconds(200);
count = 0;