mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-01-03 03:18:46 -05:00
fixed hold frequency algorithm behaviour added basic tests for frequecy changing updated catch for newer gcc tests added
18 lines
405 B
C++
18 lines
405 B
C++
// Copyright (c) 2017-2022, Mudita Sp. z.o.o. All rights reserved.
|
|
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
|
|
|
|
#include "Algorithm.hpp"
|
|
|
|
namespace sys::cpu
|
|
{
|
|
AlgorithmResult Algorithm::calculate(const AlgorithmData &data)
|
|
{
|
|
return calculateImplementation(data);
|
|
}
|
|
|
|
void Algorithm::reset()
|
|
{
|
|
resetImplementation();
|
|
}
|
|
} // namespace sys::cpu
|