mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 09:28:31 -04:00
AP_Compass: LSM303D now is part of LSM9DS0
This commit is contained in:
parent
a671b7f5b2
commit
d5d6a10e63
@ -292,7 +292,7 @@ AP_Compass_LSM303D::init()
|
|||||||
|
|
||||||
hal.scheduler->suspend_timer_procs();
|
hal.scheduler->suspend_timer_procs();
|
||||||
|
|
||||||
_spi = hal.spi->device(AP_HAL::SPIDevice_LSM303D);
|
_spi = hal.spi->device(AP_HAL::SPIDevice_LSM9DS0_AM);
|
||||||
_spi_sem = _spi->get_semaphore();
|
_spi_sem = _spi->get_semaphore();
|
||||||
|
|
||||||
_drdy_pin_m = hal.gpio->channel(LSM303D_DRDY_M_PIN);
|
_drdy_pin_m = hal.gpio->channel(LSM303D_DRDY_M_PIN);
|
||||||
|
Loading…
Reference in New Issue
Block a user