mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
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:
parent
87c6d5da13
commit
f9b0f9164a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user