From e088f1a7e506349c9c6ff2cc60eefc024d95b1e0 Mon Sep 17 00:00:00 2001 From: dyldonahue Date: Thu, 17 Oct 2024 14:06:09 -0400 Subject: [PATCH] unrelated bug --- general/src/LTC4015.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/general/src/LTC4015.c b/general/src/LTC4015.c index 063e7a9..09920e1 100644 --- a/general/src/LTC4015.c +++ b/general/src/LTC4015.c @@ -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)