Skip to content

Fix Fan Controller Definitions#40

Open
miles-p wants to merge 2 commits intomainfrom
punch/fix_fan_controller_defs
Open

Fix Fan Controller Definitions#40
miles-p wants to merge 2 commits intomainfrom
punch/fix_fan_controller_defs

Conversation

@miles-p
Copy link
Copy Markdown
Contributor

@miles-p miles-p commented Apr 21, 2026

TIFU by sending non-compiling code to main. Self-slab.

Against my better judgement, PR #38 sent non-working code to main. In the code that was merged, set_fan_mode was never actually defined, and the version that was tested on an actual NUSense was not the version that was sent to main, and because there is no build test on this repo, it slipped through and got merged...

This PR fixes this by actually defining set_fan_mode and also removes a redundant definition of a function that was brought in by STM32CubeMX.

This code has been compiled using STM32CubeIDE, however my existing PR #39 adds a build test to stop this from happening again by the way of PlatformIO integration :D.

@miles-p miles-p requested review from Claegtun and ysims April 21, 2026 23:58
@miles-p miles-p changed the title Punch/fix fan controller defs Fix Fan Controller Definitions Apr 22, 2026
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