From 8f11bf7373c4cec48a11f5df61e3f6e0cb7d665f Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Fri, 22 Jul 2016 15:01:04 -0300 Subject: [PATCH] AP_ADC: ADS1115: fix typo --- libraries/AP_ADC/AP_ADC_ADS1115.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_ADC/AP_ADC_ADS1115.cpp b/libraries/AP_ADC/AP_ADC_ADS1115.cpp index 9ae8832fe6..d7ecde8105 100644 --- a/libraries/AP_ADC/AP_ADC_ADS1115.cpp +++ b/libraries/AP_ADC/AP_ADC_ADS1115.cpp @@ -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; }