mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-01-04 11:58:43 -05:00
When we had a critical battery level and the alarm clock rang, it was impossible to turn it off.
15 lines
367 B
C++
15 lines
367 B
C++
// Copyright (c) 2017-2023, Mudita Sp. z.o.o. All rights reserved.
|
|
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
|
|
|
|
#pragma once
|
|
|
|
#include <cstdint>
|
|
|
|
namespace units
|
|
{
|
|
using Voltage = std::uint32_t; /// mV
|
|
using SOC = std::uint8_t; /// 0-100%
|
|
using Temperature = float;
|
|
using Percent = float;
|
|
} // namespace units
|