Skip to content

Commit

Permalink
Renamed to resetAccumulators()
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis-van-Gils committed Jun 19, 2024
1 parent ac0c4a7 commit 3c27a1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Adafruit_INA228.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion Adafruit_INA228.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3c27a1c

Please sign in to comment.