mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-07-19 12:34:31 -04:00
[MOS-225] Review applied
As above.
This commit is contained in:
committed by
Adam Dobrowolski
parent
224f397370
commit
1fff92e9d6
@@ -5,10 +5,10 @@
|
||||
|
||||
namespace sys::cpu
|
||||
{
|
||||
bsp::CpuFrequencyMHz ImmediateUpscale::calculateImplementation(const AlgorithmData&data)
|
||||
bsp::CpuFrequencyMHz ImmediateUpscale::calculateImplementation(const AlgorithmData &data)
|
||||
{
|
||||
auto now = data.sentinel.frequency;
|
||||
auto was = data.curentFrequency;
|
||||
return std::max(now,was);
|
||||
const auto now = data.sentinel.frequency;
|
||||
const auto was = data.curentFrequency;
|
||||
return std::max(now, was);
|
||||
}
|
||||
} // namespace sys::cpu
|
||||
|
||||
Reference in New Issue
Block a user