From 6f4d729e68dbc2bd1c53c7dd4b86d1298ace8bb5 Mon Sep 17 00:00:00 2001 From: markodraca Date: Thu, 12 Sep 2024 19:05:55 +0200 Subject: [PATCH] MCP3204 differential mode support --- esphome/components/mcp3204/mcp3204.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/mcp3204/mcp3204.h b/esphome/components/mcp3204/mcp3204.h index 19b73517d3..da5d2bb424 100644 --- a/esphome/components/mcp3204/mcp3204.h +++ b/esphome/components/mcp3204/mcp3204.h @@ -18,7 +18,7 @@ class MCP3204 : public Component, void setup() override; void dump_config() override; float get_setup_priority() const override; - float read_data(uint8_t pin, bool diffmode); + float read_data(uint8_t channel, bool differential); protected: float reference_voltage_;