diff --git a/esphome/components/mcp4461/mcp4461.h b/esphome/components/mcp4461/mcp4461.h index 40ff6a3e1a..4f9ea902f6 100644 --- a/esphome/components/mcp4461/mcp4461.h +++ b/esphome/components/mcp4461/mcp4461.h @@ -15,7 +15,7 @@ struct WiperState { bool enabled = true; }; -enum class Mcp4461Defaults { WIPER_VALUE = 0x80 }; +enum class Mcp4461Defaults : uint8_t { WIPER_VALUE = 0x80 }; enum class Mcp4461Commands : uint8_t { WRITE = 0x00, INCREMENT = 0x04, DECREMENT = 0x08, READ = 0x0C }; enum class Mcp4461Addresses {