AP_Compass: LSM303D now is part of LSM9DS0

This commit is contained in:
Lucas De Marchi 2016-03-18 20:59:00 -03:00
parent a671b7f5b2
commit d5d6a10e63
1 changed files with 1 additions and 1 deletions

View File

@ -292,7 +292,7 @@ AP_Compass_LSM303D::init()
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();
_drdy_pin_m = hal.gpio->channel(LSM303D_DRDY_M_PIN);