mirror of
https://github.com/esphome/esphome.git
synced 2025-04-13 22:30:31 +01:00
Update mcp4461.cpp
This commit is contained in:
parent
d8b4ff7e1f
commit
b0f19c4198
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user