Skip to content

Exit if no fans are detected#146

Open
RaafatAkkad wants to merge 1 commit intohholtmann:masterfrom
RaafatAkkad:exit-if-no-fans
Open

Exit if no fans are detected#146
RaafatAkkad wants to merge 1 commit intohholtmann:masterfrom
RaafatAkkad:exit-if-no-fans

Conversation

@RaafatAkkad
Copy link
Contributor

@RaafatAkkad RaafatAkkad commented Jul 8, 2023

closes #126

Untested as I don't have an Apple Silicon MacBook Air. I did however set fan_num = 0 to test the if condition.

wolffcatskyy added a commit to wolffcatskyy/smcFanControl that referenced this pull request Mar 16, 2026
Community Edition fork targeting Intel Macs with OCLP:
- Remove IOHIDSensor (ARM64 temperature path), all TARGET_CPU_ARM64 branches
- Replace OSSpinLock with os_unfair_lock, IOMasterPort with kIOMainPortDefault
- Modernize NSAlert calls (alertWithMessageText → init pattern)
- Replace NSArchiver/NSUnarchiver with NSKeyedArchiver (secure coding)
- Fix NSSmallControlSize → NSControlSizeSmall, cString → UTF8String
- Remove dead code: SystemVersion, StatusItemWindow, donation prompts
- Remove Sparkle auto-updater (dead eidac.de URL), add GitHub Releases link
- Apply PR hholtmann#143 (SYMROOT fix), PR hholtmann#146 (exit if no fans), PR hholtmann#108 (FP fan speed)
- Update Info.plist copyright for community fork

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
wolffcatskyy added a commit to wolffcatskyy/smcFanControl that referenced this pull request Mar 16, 2026
…APIs, remove dead code

Intel-only fork targeting OCLP (OpenCore Legacy Patcher) Macs:
- Remove IOHIDSensor (ARM64 temperature path), all TARGET_CPU_ARM64 branches
- Replace OSSpinLock with os_unfair_lock, IOMasterPort with kIOMainPortDefault
- Modernize NSAlert calls (alertWithMessageText → init pattern)
- Replace NSArchiver/NSUnarchiver with NSKeyedArchiver (secure coding)
- Fix NSSmallControlSize → NSControlSizeSmall, cString → UTF8String
- Remove dead code: SystemVersion, StatusItemWindow, donation prompts
- Remove Sparkle auto-updater (dead eidac.de URL), add GitHub Releases link
- Apply PR hholtmann#143 (SYMROOT fix), PR hholtmann#146 (exit if no fans), PR hholtmann#108 (FP fan speed)
- Update Info.plist copyright for community fork
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.

When would you support M1 Macs?

1 participant