mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
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))) {
|
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();
|
_dev->get_semaphore()->give();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user