mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-29 12:50:28 +00:00
Spell out slightly more; this makes debugging a touch easier.
This commit is contained in:
parent
33ff4f3b5c
commit
ed303310bb
@ -28,7 +28,8 @@ ClockingHint::Preference Controller::preferred_clocking() const {
|
|||||||
// Nominate RealTime clocking if any drive currently wants any clocking whatsoever.
|
// Nominate RealTime clocking if any drive currently wants any clocking whatsoever.
|
||||||
// Otherwise, ::None will do.
|
// Otherwise, ::None will do.
|
||||||
for(auto &drive: drives_) {
|
for(auto &drive: drives_) {
|
||||||
if(drive.preferred_clocking() != ClockingHint::Preference::None) {
|
const auto preferred_clocking = drive.preferred_clocking();
|
||||||
|
if(preferred_clocking != ClockingHint::Preference::None) {
|
||||||
return ClockingHint::Preference::RealTime;
|
return ClockingHint::Preference::RealTime;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user