diff --git a/esphome/components/esp8266/core.h b/esphome/components/esp8266/core.h index 8c9ffd40a4..8df9e26d55 100644 --- a/esphome/components/esp8266/core.h +++ b/esphome/components/esp8266/core.h @@ -3,6 +3,7 @@ #ifdef USE_ESP8266 #include +#include "esphome/core/hal.h" extern const uint8_t ESPHOME_ESP8266_GPIO_INITIAL_MODE[16] PROGMEM; extern const uint8_t ESPHOME_ESP8266_GPIO_INITIAL_LEVEL[16] PROGMEM;