Skip to content

Commit

Permalink
BQ769x0 Fix BMS Communication Error
Browse files Browse the repository at this point in the history
  • Loading branch information
A-Emile authored and martinjaeger committed Feb 24, 2025
1 parent 4f4b956 commit 29209f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/bms_ic/bq769x0/bq769x0.c
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,7 @@ static int bq769x0_activate(const struct device *dev)
k_sleep(K_TIMEOUT_ABS_MS(10));

err = bq769x0_detect_crc(dev);
if (err != 0) {
if (err == 0) {
uint8_t adcoffset;
uint8_t adcgain1;
uint8_t adcgain2;
Expand Down

0 comments on commit 29209f6

Please sign in to comment.