AP_InertialSensor: Fix name of sensor

This commit is contained in:
mirkix 2016-08-22 21:16:19 +02:00 committed by Randy Mackay
parent cbbc4d6774
commit a4d0ad8571
1 changed files with 2 additions and 2 deletions

View File

@ -375,7 +375,7 @@ bool AP_InertialSensor_MPU9250::_data_ready(uint8_t int_status)
}
/*
* Timer process to poll for new data from the MPU6000.
* Timer process to poll for new data from the MPU9250.
*/
void AP_InertialSensor_MPU9250::_poll_data()
{
@ -454,7 +454,7 @@ void AP_InertialSensor_MPU9250::_register_write(uint8_t reg, uint8_t val)
bool AP_InertialSensor_MPU9250::_hardware_init(void)
{
if (!_dev->get_semaphore()->take(100)) {
AP_HAL::panic("MPU6000: Unable to get semaphore");
AP_HAL::panic("MPU9250: Unable to get semaphore");
}
// initially run the bus at low speed