mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-01-16 01:48:42 -05:00
15 lines
390 B
C++
15 lines
390 B
C++
// Copyright (c) 2017-2022, Mudita Sp. z.o.o. All rights reserved.
|
|
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
|
|
|
|
#include "BatteryLevelData.hpp"
|
|
|
|
namespace bluetooth
|
|
{
|
|
BatteryLevelData::BatteryLevelData(const BatteryLevel &level) : level(level)
|
|
{}
|
|
auto BatteryLevelData::getData() -> DataVariant
|
|
{
|
|
return level;
|
|
}
|
|
} // namespace bluetooth
|