From: Ivan Grokhotkov Date: Sun, 22 Oct 2017 04:57:56 +0000 (+0800) Subject: spi_flash: fix build error with profiling enabled X-Git-Tag: v3.1-dev~139^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fbd52dcf3480a48b951e7dc0ac43552b847b7021;p=esp-idf spi_flash: fix build error with profiling enabled --- diff --git a/components/spi_flash/flash_ops.c b/components/spi_flash/flash_ops.c index c5354d1472..bbc65e4ca1 100644 --- a/components/spi_flash/flash_ops.c +++ b/components/spi_flash/flash_ops.c @@ -30,6 +30,7 @@ #include "esp_attr.h" #include "esp_spi_flash.h" #include "esp_log.h" +#include "esp_clk.h" #include "cache_utils.h" /* bytes erased by SPIEraseBlock() ROM function */