From 2e80ef4abc5674d512f8e3c8af5470a50f952352 Mon Sep 17 00:00:00 2001 From: Oliver Kleinecke Date: Mon, 3 Feb 2025 12:13:33 +0100 Subject: [PATCH] Update esphome/components/mcp4461/mcp4461.h Co-authored-by: Djordje Mandic <6750655+DjordjeMandic@users.noreply.github.com> --- esphome/components/mcp4461/mcp4461.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/mcp4461/mcp4461.h b/esphome/components/mcp4461/mcp4461.h index cea9eb226c..40ff6a3e1a 100644 --- a/esphome/components/mcp4461/mcp4461.h +++ b/esphome/components/mcp4461/mcp4461.h @@ -85,7 +85,7 @@ class Mcp4461Component : public Component, public i2c::I2CDevice { void set_eeprom_value(MCP4461EEPRomLocation location, uint16_t value); protected: - friend Mcp4461Wiper; + friend class Mcp4461Wiper; bool is_writing_(); uint8_t get_wiper_address_(uint8_t wiper); void write_wiper_level_(uint8_t wiper, uint16_t value);