diff --git a/examples/device/cdc_msc_freertos/src/main.c b/examples/device/cdc_msc_freertos/src/main.c index 1371b84c38..1013bf0789 100644 --- a/examples/device/cdc_msc_freertos/src/main.c +++ b/examples/device/cdc_msc_freertos/src/main.c @@ -28,10 +28,10 @@ #include #include "FreeRTOS.h" -#include "task.h" -#include "timers.h" -#include "queue.h" -#include "semphr.h" +#include "freertos/task.h" +#include "freertos/timers.h" +#include "freertos/queue.h" +#include "freertos/semphr.h" #include "bsp/board.h" #include "tusb.h" diff --git a/examples/device/hid_composite_freertos/src/main.c b/examples/device/hid_composite_freertos/src/main.c index de065ee64f..b4052f8f26 100644 --- a/examples/device/hid_composite_freertos/src/main.c +++ b/examples/device/hid_composite_freertos/src/main.c @@ -28,10 +28,10 @@ #include #include "FreeRTOS.h" -#include "task.h" -#include "timers.h" -#include "queue.h" -#include "semphr.h" +#include "freertos/task.h" +#include "freertos/timers.h" +#include "freertos/queue.h" +#include "freertos/semphr.h" #include "bsp/board.h" #include "tusb.h" diff --git a/src/osal/osal_freertos.h b/src/osal/osal_freertos.h index 004bd1b6bf..794948f8d0 100644 --- a/src/osal/osal_freertos.h +++ b/src/osal/osal_freertos.h @@ -29,9 +29,9 @@ // FreeRTOS Headers #include "FreeRTOS.h" -#include "semphr.h" -#include "queue.h" -#include "task.h" +#include "freertos/semphr.h" +#include "freertos/queue.h" +#include "freertos/task.h" #ifdef __cplusplus extern "C" {