From fbd52dcf3480a48b951e7dc0ac43552b847b7021 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Sun, 22 Oct 2017 12:57:56 +0800 Subject: [PATCH] spi_flash: fix build error with profiling enabled --- components/spi_flash/flash_ops.c | 1 + 1 file changed, 1 insertion(+) diff --git a/components/spi_flash/flash_ops.c b/components/spi_flash/flash_ops.c index c5354d147..bbc65e4ca 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 */