mirror of
https://github.com/esphome/esphome.git
synced 2025-04-17 16:20:31 +01:00
Update mcp4461.cpp
This commit is contained in:
parent
86329bcdb9
commit
a142f23b64
@ -52,8 +52,6 @@ static const LogString *mcp4461_get_message_string(int status) {
|
|||||||
return LOG_STR("Status register could not be read");
|
return LOG_STR("Status register could not be read");
|
||||||
case Mcp4461Component::MCP4461_STATUS_REGISTER_INVALID:
|
case Mcp4461Component::MCP4461_STATUS_REGISTER_INVALID:
|
||||||
return LOG_STR("Invalid status register value - bits 1,7 or 8 are 0");
|
return LOG_STR("Invalid status register value - bits 1,7 or 8 are 0");
|
||||||
case Mcp4461Component::MCP4461_PARENT_FAILED:
|
|
||||||
return LOG_STR("Parent component failed");
|
|
||||||
case Mcp4461Component::MCP4461_VALUE_INVALID:
|
case Mcp4461Component::MCP4461_VALUE_INVALID:
|
||||||
return LOG_STR("Invalid value for wiper given");
|
return LOG_STR("Invalid value for wiper given");
|
||||||
case Mcp4461Component::MCP4461_WRITE_PROTECTED:
|
case Mcp4461Component::MCP4461_WRITE_PROTECTED:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user