Skip to content

Commit

Permalink
Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
porrey committed Sep 13, 2021
1 parent f09cd33 commit d9f00e0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/MAX17043/MAX17043.ino
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ void setup()
//
// Initialize the fuel gauge.
//
if (FuelGauge.begin()
if (FuelGauge.begin())
{
Serial.println("The MAX17043 device was found.\n");
FuelGauge.quickstart();
Expand Down
2 changes: 1 addition & 1 deletion examples/MAX17044/MAX17044.ino
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ void setup()
//
// Initialize the fuel gauge.
//
if (FuelGauge.begin()
if (FuelGauge.begin())
{
Serial.println("The MAX17044 device was found.\n");
FuelGauge.quickstart();
Expand Down
4 changes: 2 additions & 2 deletions src/MAX1704X.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,15 @@ bool MAX1704X::begin(int sda, int scl)
{
this->_wire = &Wire;
this->_wire->begin(sda, scl);
returnValue = this->deviceFound();
return this->deviceFound();
}

bool MAX1704X::begin(int sda, int scl, uint8_t address)
{
this->_address = address;
this->_wire = &Wire;
this->_wire->begin(sda, scl);
returnValue = this->deviceFound();
return this->deviceFound();
}
#endif

Expand Down

0 comments on commit d9f00e0

Please sign in to comment.