From cf189910150ed8ba2d4d6fd2757467b3d83102cc Mon Sep 17 00:00:00 2001 From: Oliver Kleinecke Date: Sun, 9 Feb 2025 14:43:45 +0100 Subject: [PATCH] Update mcp4461.h --- esphome/components/mcp4461/mcp4461.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esphome/components/mcp4461/mcp4461.h b/esphome/components/mcp4461/mcp4461.h index 1f6598e478..bbb2da26ad 100644 --- a/esphome/components/mcp4461/mcp4461.h +++ b/esphome/components/mcp4461/mcp4461.h @@ -93,11 +93,11 @@ class Mcp4461Component : public Component, public i2c::I2CDevice { enum ErrorCode { MCP4461_STATUS_OK = 0, // CMD completed successfully + MCP4461_FAILED, // component failed MCP4461_STATUS_I2C_ERROR, // Unable to communicate with device MCP4461_STATUS_REGISTER_INVALID, // Status register value was invalid MCP4461_STATUS_REGISTER_ERROR, // Error fetching status register - MCP4461_PARENT_FAILED, // Parent component failed - MCP4461_VALUE_INVALID, // Invalid value given for wiper / eeprom + MCP4461_VALUE_INVALID, // Invalid value given for wiper / eeprom MCP4461_WRITE_PROTECTED, // The value was read, but the CRC over the payload (valid and data) does not match MCP4461_WIPER_ENABLED, // The wiper is enabled, discard additional enabling actions MCP4461_WIPER_DISABLED, // The wiper is disabled - all actions for this wiper will be aborted/discarded