mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-08-05 01:27:56 +00:00
porting: add missing esp_timer.h include
porting/npl/freertos/include/nimble/npl_freertos.h uses the esp_timer_handle_t type without including esp_timer.h. Previously this used to work because esp_timer.h was included by FreeRTOS headers. This transitive include will be removed in IDF v5.0. Add an explicit include to fix this.
This commit is contained in:
committed by
Abhinav Kudnar
parent
cc618abc5a
commit
b45540a599
@@ -28,6 +28,7 @@
|
||||
#include "freertos/semphr.h"
|
||||
#include "freertos/task.h"
|
||||
#include "freertos/timers.h"
|
||||
#include "esp_timer.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
Reference in New Issue
Block a user