sparkfun / SparkFun_BQ27441_Arduino_Library

Arduino library for the BQ27441 LiPo Fuel Gauge.
Other
43 stars 31 forks source link

mistake inside enterConfig() function #4

Closed offirs1 closed 5 years ago

offirs1 commented 5 years ago

on this line: while ((timeout--) && (!(status() & BQ27441_FLAG_CFGUPMODE)))

status() should be replaced with flags()

correct line: while ((timeout--) && (!(flags() & BQ27441_FLAG_CFGUPMODE)))

please fix, thanks.

denisn73 commented 5 years ago

Find same issues! Please fix it.

awende commented 5 years ago

Fixed and pushed changes, thanks!