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