From ba2ff6e0abd5d20ed6320f4e0f75a5df7250ead7 Mon Sep 17 00:00:00 2001 From: zwsd Date: Thu, 14 Jul 2022 15:19:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=AE=9A=E6=97=B6=E5=99=A8?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/CMakeLists.txt | 2 +- main/gatts_demo.c | 1 - main/t_timer.c | 0 main/t_timer.h | 0 4 files changed, 1 insertion(+), 2 deletions(-) create mode 100644 main/t_timer.c create mode 100644 main/t_timer.h diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt index a6f0827..2ebce4d 100644 --- a/main/CMakeLists.txt +++ b/main/CMakeLists.txt @@ -1,2 +1,2 @@ -idf_component_register(SRCS "gatts_demo.c" "motor_drive.c" "t_bluetooth.c" +idf_component_register(SRCS "gatts_demo.c" "motor_drive.c" "t_bluetooth.c" "t_timer.h" INCLUDE_DIRS ".") diff --git a/main/gatts_demo.c b/main/gatts_demo.c index fe91839..737623e 100644 --- a/main/gatts_demo.c +++ b/main/gatts_demo.c @@ -32,7 +32,6 @@ ble_gatts_str_t ble_gatts_a_str = { /*********************************************************************************************************************** * **********************************************user_function_statement********************************************** * ***********************************************************************************************************************/ -void buffer_all_init(); void bluetooth_gatts_try_process_data(); void timer_set_pause_and_counter_zero(int group, int timer); void port_timer_delay_ms(uint64_t delay); diff --git a/main/t_timer.c b/main/t_timer.c new file mode 100644 index 0000000..e69de29 diff --git a/main/t_timer.h b/main/t_timer.h new file mode 100644 index 0000000..e69de29