Skip to content

fix: emc2305: correct off by one error for poles#5

Merged
jdswensen merged 1 commit intomainfrom
fix/emc2305
Mar 14, 2026
Merged

fix: emc2305: correct off by one error for poles#5
jdswensen merged 1 commit intomainfrom
fix/emc2305

Conversation

@jdswensen
Copy link
Contributor

There is an off by one error when setting or reading the number of poles for a fan.

This commit corrects the bug and adds unit tests around the condition.

There is an off by one error when setting or reading the number
of poles for a fan.

This commit corrects the bug and adds unit tests around the condition.
@jdswensen jdswensen merged commit 0f3e864 into main Mar 14, 2026
1 check passed
@jdswensen jdswensen deleted the fix/emc2305 branch March 14, 2026 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant