From 0338cbaa5f21c3ed43340d4ab8a94dbad1348443 Mon Sep 17 00:00:00 2001 From: Oliver Kleinecke Date: Mon, 3 Feb 2025 23:17:03 +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 e67a3b0859..9e552c7680 100644 --- a/esphome/components/mcp4461/mcp4461.h +++ b/esphome/components/mcp4461/mcp4461.h @@ -29,7 +29,7 @@ enum class Mcp4461Addresses : uint8_t { MCP4461_EEPROM_1 = 0xB0 }; -enum MCP4461WiperIdx : uint8_t { +enum class MCP4461WiperIdx : uint8_t { MCP4461_WIPER_0 = 0, MCP4461_WIPER_1 = 1, MCP4461_WIPER_2 = 2, @@ -40,7 +40,7 @@ enum MCP4461WiperIdx : uint8_t { MCP4461_WIPER_7 = 7 }; -enum MCP4461EEPRomLocation : uint8_t { +enum class MCP4461EEPRomLocation : uint8_t { MCP4461_EEPROM_0 = 0, MCP4461_EEPROM_1 = 1, MCP4461_EEPROM_2 = 2,