mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-27 01:31:42 +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.
|
||||
// Otherwise, ::None will do.
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user