1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 14:43:51 +00:00

Update mcp4461.cpp

This commit is contained in:
Oliver Kleinecke
2025-02-09 12:02:03 +01:00
committed by GitHub
parent d8b4ff7e1f
commit b0f19c4198

View File

@@ -52,6 +52,8 @@ static const LogString *mcp4461_get_message_string_(int status) {
return LOG_STR("Status register could not be read");
case Mcp4461Component::MCP4461_STATUS_REGISTER_INVALID:
return LOG_STR("Invalid status register value - bits 1,7 or 8 are 0");
case Mcp4461Component::MCP4461_STATUS_REGISTER_ERROR:
return LOG_STR("Parent component failed");
case Mcp4461Component::MCP4461_VALUE_INVALID:
return LOG_STR("Invalid value for wiper given");
case Mcp4461Component::MCP4461_WRITE_PROTECTED: