blob: 4480f0f0ed5ea6e9d0d7d62f65059e3d938fdf22 [file] [log] [blame]
// NOLINTBEGIN
#pragma once
#include <cstdint>
#include <nlohmann/json.hpp>
namespace thermal
{
// clang-format off
enum class ReadingUnits : std::uint8_t{
Invalid,
RPM,
Percent,
};
NLOHMANN_JSON_SERIALIZE_ENUM(ReadingUnits, {
{ReadingUnits::Invalid, "Invalid"},
{ReadingUnits::RPM, "RPM"},
{ReadingUnits::Percent, "Percent"},
});
} // namespace thermal
// clang-format on
// NOLINTEND