From 373d85dd9fd2b722ed06e55222ed764922ed4af0 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Sun, 24 Sep 2017 15:46:59 +0800 Subject: [PATCH] freertos: fix error when including xtensa-timer.h from other components --- components/freertos/include/freertos/xtensa_rtos.h | 2 +- components/freertos/include/freertos/xtensa_timer.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/freertos/include/freertos/xtensa_rtos.h b/components/freertos/include/freertos/xtensa_rtos.h index 980cc92e0d..e5982b83a5 100644 --- a/components/freertos/include/freertos/xtensa_rtos.h +++ b/components/freertos/include/freertos/xtensa_rtos.h @@ -55,7 +55,7 @@ Should be included by all Xtensa generic and RTOS port-specific sources. /* Include any RTOS specific definitions that are needed by this header. */ -#include +#include "FreeRTOSConfig.h" /* Convert FreeRTOSConfig definitions to XTENSA definitions. diff --git a/components/freertos/include/freertos/xtensa_timer.h b/components/freertos/include/freertos/xtensa_timer.h index 9bb8648f69..fa4f96098c 100644 --- a/components/freertos/include/freertos/xtensa_timer.h +++ b/components/freertos/include/freertos/xtensa_timer.h @@ -49,7 +49,7 @@ and the Xtensa core configuration need not have a timer. #include "xtensa_rtos.h" /* in case this wasn't included directly */ -#include +#include "FreeRTOSConfig.h" /* Select timer to use for periodic tick, and determine its interrupt number -- 2.40.0