mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-07-21 13:35:04 -04:00
System wakes up Cellular when there is a need to communicate with the modem, e.g. to handle an outgoing call
38 lines
655 B
C++
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
|