Files
MuditaOS/module-services/service-eink/internal/StaticData.cpp
Lefucjusz 773f2c7eb1 [BH-2069] Update license URL in headers
Update outdated license file URL in
license headers across all project.
2024-09-18 11:53:01 +02:00

24 lines
578 B
C++

// Copyright (c) 2017-2024, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/blob/master/LICENSE.md
#include "StaticData.hpp"
namespace service::eink::internal
{
StaticData &StaticData::get()
{
static StaticData instance;
return instance;
}
void StaticData::setInvertedMode(bool enabled) noexcept
{
invertedEnabled = enabled;
}
auto StaticData::isInvertedModeEnabled() const noexcept -> bool
{
return invertedEnabled;
}
} // namespace service::eink::internal