From 5b9898814fbb3629d60b655a108d50b4400fd272 Mon Sep 17 00:00:00 2001 From: Michael Doppler <76885460+mdop@users.noreply.github.com> Date: Thu, 2 May 2024 10:23:20 +0000 Subject: [PATCH] Include delay function in sensor --- esphome/components/mcp3428/sensor/mcp3428_sensor.h | 1 + 1 file changed, 1 insertion(+) diff --git a/esphome/components/mcp3428/sensor/mcp3428_sensor.h b/esphome/components/mcp3428/sensor/mcp3428_sensor.h index f106d3d6d6..7326f35bd5 100644 --- a/esphome/components/mcp3428/sensor/mcp3428_sensor.h +++ b/esphome/components/mcp3428/sensor/mcp3428_sensor.h @@ -2,6 +2,7 @@ #include "esphome/core/component.h" #include "esphome/core/helpers.h" +#include "esphome/core/hal.h" #include "esphome/components/sensor/sensor.h" #include "esphome/components/voltage_sampler/voltage_sampler.h"