Files
MuditaOS/module-bsp/devices/Device.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

23 lines
472 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 "Device.hpp"
namespace devices
{
Device::Device(std::string name) : name(std::move(name))
{}
bool Device::IsEnabled() const noexcept
{
return isEnabled;
}
[[nodiscard]] auto Device::GetName() const noexcept -> std::string
{
return name;
}
} // namespace devices