diff --git a/cores/esp32/esp32-hal-dac.h b/cores/esp32/esp32-hal-dac.h index fdb21628..47b22658 100644 --- a/cores/esp32/esp32-hal-dac.h +++ b/cores/esp32/esp32-hal-dac.h @@ -25,6 +25,7 @@ extern "C" { #endif #include "esp32-hal.h" +#include "driver/gpio.h" void dacWrite(uint8_t pin, uint8_t value);