Skip to content

Commit

Permalink
unrelated bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dyldonahue committed Oct 17, 2024
1 parent 43cdcf1 commit e088f1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion general/src/LTC4015.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ int LTC4015_Init(LTC4015_T *dev, Read_Ptr read, Write_Ptr write)
dev->write = write;

//Gets the value from the Charging state register
LtC4015_read(dev, LTC4015_CHGSTATE, dev->CHGdata);
LtC4015_read(dev, LTC4015_CHGSTATE, &dev->chargeFaults);
}

int LTC4015_read(LTC4015_T *dev, uint16_t reg, uint16_t *data)
Expand Down

0 comments on commit e088f1a

Please sign in to comment.