存档
This commit is contained in:
@ -149,6 +149,7 @@ void test(){
|
||||
signed short gyr_data_buf[3] = {0};
|
||||
signed short acc_gyro_input[6] = {0};
|
||||
float Angle_output[3] = {0};
|
||||
// xlog("============start\n");
|
||||
|
||||
SL_SC7U22_RawData_Read(acc_data_buf,gyr_data_buf);
|
||||
|
||||
@ -228,12 +229,13 @@ void test(){
|
||||
);
|
||||
send_data_to_ble_client(&log_buffer,strlen(log_buffer));
|
||||
|
||||
|
||||
xlog("Call interval\n");
|
||||
}
|
||||
count++;
|
||||
|
||||
memset(&BLE_send_data, 0, sizeof(BLE_send_data_t));
|
||||
memset(&data, 0, 50);
|
||||
// xlog("end============\n");
|
||||
|
||||
}
|
||||
#else
|
||||
@ -301,5 +303,9 @@ void xtell_task_create(void){
|
||||
|
||||
// create_process(&gsensor_id, "gsensor",NULL, gsensor_test, 1000);
|
||||
create_process(&test_id, "test",NULL, test, (int)(DELTA_TIME*1000));
|
||||
// while(1){
|
||||
// test();
|
||||
// os_time_dly((int)(DELTA_TIME*1000));
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user