1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-04 04:12:23 +01:00

Update mcp4461.cpp

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

View File

@@ -52,7 +52,7 @@ 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:
case Mcp4461Component::MCP4461_PARENT_FAILED:
return LOG_STR("Parent component failed");
case Mcp4461Component::MCP4461_VALUE_INVALID:
return LOG_STR("Invalid value for wiper given");