mirror of
https://github.com/TomHarte/CLK.git
synced 2026-04-21 17:16:44 +00:00
Adds activity lights for Macintosh disk activity.
Prompting a quick fix to drives not spinning down.
This commit is contained in:
@@ -399,3 +399,8 @@ void IWM::set_component_prefers_clocking(ClockingHint::Source *component, Clocki
|
||||
drive_is_rotating_[1] = is_rotating;
|
||||
}
|
||||
}
|
||||
|
||||
void IWM::set_activity_observer(Activity::Observer *observer) {
|
||||
if(drives_[0]) drives_[0]->set_activity_observer(observer, "Internal Drive", true);
|
||||
if(drives_[1]) drives_[1]->set_activity_observer(observer, "External Drive", true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user