mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-04-19 14:40:57 -04:00
30 lines
745 B
C++
30 lines
745 B
C++
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
|
|
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
|
|
|
|
#include "bsp/vibrator/vibrator.hpp"
|
|
#include <log/log.hpp>
|
|
|
|
namespace bsp
|
|
{
|
|
namespace vibrator
|
|
{
|
|
|
|
void enable()
|
|
{
|
|
LOG_DEBUG("vibration starts\t\U0001f7e2\U0001f4f3");
|
|
}
|
|
void disable()
|
|
{
|
|
LOG_DEBUG("vibration ends \t\U0001f6d1\U0001f4f3");
|
|
}
|
|
void init(std::chrono::milliseconds pulse)
|
|
{}
|
|
void deinit()
|
|
{}
|
|
void updateClockFrequency(CpuFrequencyHz newFrequency)
|
|
{}
|
|
void setVibrationLevel(unsigned int vibrationLevel)
|
|
{}
|
|
} // namespace vibrator
|
|
} // namespace bsp
|