From 3c27a1cb400c4558baf9e12a1e82f7be37cdf751 Mon Sep 17 00:00:00 2001 From: Dennis van Gils <37263907+Dennis-van-Gils@users.noreply.github.com> Date: Wed, 19 Jun 2024 10:47:29 +0200 Subject: [PATCH] Renamed to `resetAccumulators()` --- Adafruit_INA228.cpp | 2 +- Adafruit_INA228.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Adafruit_INA228.cpp b/Adafruit_INA228.cpp index a7acffd..d0a0bf2 100644 --- a/Adafruit_INA228.cpp +++ b/Adafruit_INA228.cpp @@ -105,7 +105,7 @@ void Adafruit_INA228::reset(void) { to 0. */ /**************************************************************************/ -void Adafruit_INA228::reset_accumulators(void) { +void Adafruit_INA228::resetAccumulators(void) { Adafruit_I2CRegisterBits reset_accumulators = Adafruit_I2CRegisterBits(Config, 1, 14); reset_accumulators.write(1); diff --git a/Adafruit_INA228.h b/Adafruit_INA228.h index 9a6ce6a..0559e27 100644 --- a/Adafruit_INA228.h +++ b/Adafruit_INA228.h @@ -173,7 +173,7 @@ class Adafruit_INA228 { bool begin(uint8_t i2c_addr = INA228_I2CADDR_DEFAULT, TwoWire *theWire = &Wire, bool skipReset = false); void reset(void); - void reset_accumulators(void); + void resetAccumulators(void); void setShunt(float shunt_res = 0.015, float max_current = 10., uint8_t adc_range = 0);