Skip to content

Commit

Permalink
FIX: Issue #2
Browse files Browse the repository at this point in the history
Not all fans are updated
  • Loading branch information
Fred78290 committed Dec 23, 2020
1 parent b7a988d commit 6035991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nct6687.c
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ static void nct6687_update_fans(struct nct6687_data *data)
{
int i;

for (i = 0; i < ARRAY_SIZE(data->rpm); i++)
for (i = 0; i < NCT6687_NUM_REG_FAN; i++)
{
s16 rmp = nct6687_read16(data, NCT6687_REG_FAN_RPM(i));

Expand Down

0 comments on commit 6035991

Please sign in to comment.