diff --git a/libraries/AP_InertialSensor/AP_InertialSensor_MPU6000.cpp b/libraries/AP_InertialSensor/AP_InertialSensor_MPU6000.cpp index 3b5428e26b..79370e17c0 100644 --- a/libraries/AP_InertialSensor/AP_InertialSensor_MPU6000.cpp +++ b/libraries/AP_InertialSensor/AP_InertialSensor_MPU6000.cpp @@ -227,7 +227,7 @@ void AP_MPU6000_BusDriver_SPI::read_burst(uint8_t *samples, AP_HAL::DigitalSource *_drdy_pin, uint8_t &n_samples) { - /* one resister address followed by seven 2-byte registers */ + /* one register address followed by seven 2-byte registers */ struct PACKED { uint8_t cmd; uint8_t int_status; diff --git a/libraries/AP_InertialSensor/AP_InertialSensor_MPU9250.cpp b/libraries/AP_InertialSensor/AP_InertialSensor_MPU9250.cpp index 01c69a1cac..b870131576 100644 --- a/libraries/AP_InertialSensor/AP_InertialSensor_MPU9250.cpp +++ b/libraries/AP_InertialSensor/AP_InertialSensor_MPU9250.cpp @@ -257,7 +257,7 @@ bool AP_InertialSensor_MPU9250::initialize_driver_state() { _register_write(spi, MPUREG_USER_CTRL, BIT_USER_CTRL_I2C_IF_DIS); // Wake up device and select GyroZ clock. Note that the - // MPU6000 starts up in sleep mode, and it can take some time + // MPU9250 starts up in sleep mode, and it can take some time // for it to come out of sleep _register_write(spi, MPUREG_PWR_MGMT_1, BIT_PWR_MGMT_1_CLK_ZGYRO); hal.scheduler->delay(5); @@ -378,7 +378,7 @@ void AP_InertialSensor_MPU9250::_poll_data(void) */ void AP_InertialSensor_MPU9250::_read_data_transaction() { - /* one resister address followed by seven 2-byte registers */ + /* one register address followed by seven 2-byte registers */ struct PACKED { uint8_t cmd; uint8_t int_status;