Files
MuditaOS/module-bsp/board/linux/lpm/LinuxLPM.cpp
Maciej Gibowicz 9f87dead1c [EGD-4853] Add Wake up GSM modem on demand
System wakes up Cellular when there is a need to communicate
with the modem, e.g. to handle an outgoing call
2021-03-10 13:08:48 +01:00

38 lines
655 B
C++

// 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)
{
}
} // namespace bsp