mirror of https://github.com/ArduPilot/ardupilot
RangeFinder_Bebop: fix spi speed
Set spi speed. Else 0 will be sent at each transfer.
This commit is contained in:
parent
e627bbc912
commit
8a1f4e048f
|
@ -327,6 +327,7 @@ void AP_RangeFinder_Bebop::_reconfigure_wave()
|
|||
*/
|
||||
int AP_RangeFinder_Bebop::_configure_wave()
|
||||
{
|
||||
_spi->set_speed(AP_HAL::Device::SPEED_HIGH);
|
||||
_configure_gpio(0);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue