AP_ADC: ADS1115: fix typo

This commit is contained in:
Lucas De Marchi 2016-07-22 15:01:04 -03:00
parent c27ebd10c2
commit 8f11bf7373
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ void AP_ADC_ADS1115::_update()
}
if (!_dev->read_registers(ADS1115_RA_CONFIG, config, sizeof(config))) {
error("i2c->read_registers failed in ADS1115");
error("_dev->read_registers failed in ADS1115");
_dev->get_semaphore()->give();
return;
}