mirror of https://github.com/ArduPilot/ardupilot
AP_ADC: ADS1115: fix typo
This commit is contained in:
parent
c27ebd10c2
commit
8f11bf7373
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue