11月28日发客户的版本
This commit is contained in:
@ -385,7 +385,7 @@ void stop_calibration(void){
|
||||
void start_clloct(void){
|
||||
reset_ms_timer();
|
||||
create_process(&start_collect_fuc_id,"start_collect",NULL,start_collect_fuc,10);
|
||||
create_process(&BLE_send_fuc_id,"BLE_send_fuc",NULL,BLE_send_fuc,1);
|
||||
create_process(&BLE_send_fuc_id,"BLE_send_fuc",NULL,BLE_send_fuc,5);
|
||||
}
|
||||
|
||||
|
||||
@ -395,7 +395,8 @@ void start_clloct(void){
|
||||
*/
|
||||
void stop_clloct(void){
|
||||
close_process(&start_collect_fuc_id,"start_collect");
|
||||
create_process(&stop_ble_send_fuc_id,"stop_BLE_send_fuc",NULL,stop_BLE_send_fuc,1000); //等缓冲区内容发送完,才停止ble发送任务
|
||||
close_process(&BLE_send_fuc_id,"BLE_send_fuc");
|
||||
// create_process(&stop_ble_send_fuc_id,"stop_BLE_send_fuc",NULL,stop_BLE_send_fuc,500); //等缓冲区内容发送完,才停止ble发送任务
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user