Add STATUS_WORD to metadata for VIN_UV_FAULT
Change-Id: Iaa6001f7c5d0c558ad3bc01e209dc316236fea93
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
diff --git a/elog-errors.hpp b/elog-errors.hpp
index 7ea5cf3..5a6fad8 100644
--- a/elog-errors.hpp
+++ b/elog-errors.hpp
@@ -544,13 +544,22 @@
namespace _PowerSupplyUnderVoltageFault
{
+struct RAW_STATUS
+{
+ static constexpr auto str = "RAW_STATUS=%s";
+ static constexpr auto str_short = "RAW_STATUS";
+ using type = std::tuple<std::decay_t<decltype(str)>,const char*>;
+ explicit constexpr RAW_STATUS(const char* a) : _entry(entry(str, a)) {};
+ type _entry;
+};
} // namespace _PowerSupplyUnderVoltageFault
struct PowerSupplyUnderVoltageFault
{
static constexpr auto L = level::ERR;
- using metadata_types = std::tuple<>;
+ using RAW_STATUS = _PowerSupplyUnderVoltageFault::RAW_STATUS;
+ using metadata_types = std::tuple<RAW_STATUS>;
};