]> granicus.if.org Git - esp-idf/commitdiff
make esp_timer.h public
authorIvan Grokhotkov <ivan@espressif.com>
Sun, 15 Oct 2017 16:37:00 +0000 (00:37 +0800)
committerIvan Grokhotkov <ivan@espressif.com>
Wed, 18 Oct 2017 04:31:38 +0000 (12:31 +0800)
components/esp32/include/esp_timer.h [moved from components/esp32/esp_timer.h with 98% similarity]
components/esp32/test/test_esp_timer.c
components/newlib/time.c

similarity index 98%
rename from components/esp32/esp_timer.h
rename to components/esp32/include/esp_timer.h
index f5ba21967e5228825d31fd7c22319f1eaca22b89..e3e8b481286d3b60068dffa7ce43fc32f000945b 100644 (file)
@@ -18,9 +18,6 @@
  * @file esp_timer.h
  * @brief microsecond-precision 64-bit timer API, replacement for ets_timer
  *
- * Not a public header yet. To be moved into include/ directory when it is made
- * public.
- *
  * esp_timer APIs allow components to receive callbacks when a hardware timer
  * reaches certain value. The timer provides microsecond accuracy and
  * up to 64 bit range. Note that while the timer itself provides microsecond
index 246aac9d86130da7a557dc2d65db52d0e49fe573..9206d312d2e9cd0fa4c067490bfa64aabaf54da0 100644 (file)
@@ -3,7 +3,7 @@
 #include <time.h>
 #include <sys/time.h>
 #include "unity.h"
-#include "../esp_timer.h"
+#include "esp_timer.h"
 #include "freertos/FreeRTOS.h"
 #include "freertos/task.h"
 #include "freertos/semphr.h"
index 1427dcfdeaf4a11fea9529455b9bc57a9028c643..0357f6412eefe56670d07a4a108ad12482283429 100644 (file)
@@ -26,7 +26,7 @@
 #include "esp_attr.h"
 #include "esp_intr_alloc.h"
 #include "esp_clk.h"
-#include "../esp32/esp_timer.h"
+#include "esp_timer.h"
 #include "soc/soc.h"
 #include "soc/rtc.h"
 #include "soc/rtc_cntl_reg.h"