Skip to content

Commit

Permalink
Moved _updateShuntCalRegister() to private
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis-van-Gils committed Jun 20, 2024
1 parent f01f15d commit 5168419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Adafruit_INA228.h
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,6 @@ class Adafruit_INA228 {
void reset(void);
void resetAccumulators(void);

void _updateShuntCalRegister(void);
void setShunt(float shunt_res = 0.1, float max_current = 3.2);
void setADCRange(uint8_t);
uint8_t getADCRange(void);
Expand Down Expand Up @@ -217,6 +216,7 @@ class Adafruit_INA228 {
*AlertLimit; ///< BusIO Register for AlertLimit

private:
void _updateShuntCalRegister(void);
float _shunt_res;
float _current_lsb;
Adafruit_I2CDevice *i2c_dev;
Expand Down

0 comments on commit 5168419

Please sign in to comment.