cun
This commit is contained in:
@ -49,6 +49,7 @@
|
||||
#include "./sensor/MMC56.h"
|
||||
#include "./sensor/BMP280.h"
|
||||
#include "./sensor/AK8963.h"
|
||||
#include "./calculate/skiing_tracker.h"
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//宏定义
|
||||
#define LOG_TAG_CONST EARPHONE
|
||||
@ -220,8 +221,10 @@ void le_user_app_event_handler(struct sys_event* event){
|
||||
extern void sensor_measure(void);
|
||||
static int test_id;
|
||||
SL_SC7U22_Config();
|
||||
static skiing_tracker_t skiing_data;
|
||||
skiing_tracker_init(&skiing_data);
|
||||
create_process(&test_id, "test",NULL, sensor_measure, 10);
|
||||
send_tmp = "start_detection\n";
|
||||
send_tmp = "The test has begun.\n";
|
||||
send_data_to_ble_client(send_tmp,strlen(send_tmp));
|
||||
break;
|
||||
case 0x03:
|
||||
|
||||
Reference in New Issue
Block a user