mirror of https://github.com/ArduPilot/ardupilot
AP_OpticalFlow: fixed SPI name for pixart flow sensor
This commit is contained in:
parent
ebeda12953
commit
7c8cf0a39e
|
@ -83,7 +83,7 @@ extern const AP_HAL::HAL& hal;
|
|||
AP_OpticalFlow_Pixart::AP_OpticalFlow_Pixart(OpticalFlow &_frontend) :
|
||||
OpticalFlow_backend(_frontend)
|
||||
{
|
||||
_dev = std::move(hal.spi->get_device("external0m3"));
|
||||
_dev = std::move(hal.spi->get_device("pixart"));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue