// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
//
// Created by mati on 09.09.2019.
//
#include "LinuxLPM.h"
namespace bsp
{
int32_t LinuxLPM::PowerOff()
{
return 0;
}
int32_t LinuxLPM::Reboot()
{
return 0;
}
void LinuxLPM::SetCpuFrequency(bsp::CpuFrequencyHz freq)
{
currentFrequency = freq;
}
uint32_t LinuxLPM::GetCpuFrequency() const noexcept
{
return 0;
}
void LinuxLPM::SwitchOscillatorSource(bsp::LowPowerMode::OscillatorSource source)
{
currentOscSource = source;
}
} // namespace bsp