skiing_mtp

This commit is contained in:
lmx
2025-12-11 10:49:13 +08:00
parent ea610c24d3
commit 6c9ec6cec8
7 changed files with 5 additions and 6 deletions

View File

@ -167,7 +167,7 @@ void sensor_collect_task(void){
if(interval >= 4){
interval = 0;
SL_data_index = 0;
bmp280_read_data(&temperature, &pressure);//每40ms读取一次
// bmp280_read_data(&temperature, &pressure);//每40ms读取一次
for(int i = 0;i<MPU_FIFO_LEN;i++){
send_data.sensor_package[i].temperature = (int16_t)(temperature * 1000.0f);
send_data.sensor_package[i].pressure = (int32_t)(pressure * 1000.0f);
@ -337,8 +337,8 @@ void BLE_send_fuc(void){
}
extern void uartSendData(void *buf, u16 len) ; // 确保u16是uint16_t或unsigned short
uartSendData(send_buffer, 484); // 发送总共17字节
// extern void uartSendData(void *buf, u16 len) ; // 确保u16是uint16_t或unsigned short
// uartSendData(send_buffer, 484); // 发送总共17字节
send_data_to_ble_client(send_buffer, 484); // 发送数据
// data_log(send_buffer);

View File

@ -83,7 +83,7 @@ extern u8 init_ok;
extern u8 sniff_out;
unsigned char xtell_bl_state=0; //存放经典蓝牙的连接状态0断开1是连接
u8 bt_newname =0;
unsigned char xt_ble_new_name[9] = "xtell";
unsigned char xt_ble_new_name[9] = "xtell_1";
static u16 play_poweron_ok_timer_id = 0;
// -- 初始化标志位 --

Binary file not shown.

Binary file not shown.

View File

@ -10,7 +10,7 @@ copy ..\..\ota.bin .
copy ..\..\anc_coeff.bin .
copy ..\..\anc_gains.bin .
..\..\isd_download.exe ..\..\isd_config.ini -tonorflash -dev br28 -boot 0x120000 -div8 -wait 300 -uboot ..\..\uboot.boot -app ..\..\app.bin -res ..\..\cfg_tool.bin tone.cfg p11_code.bin ..\..\eq_cfg_hw.bin -uboot_compress -format all
..\..\isd_download.exe ..\..\isd_config.ini -tonorflash -dev br28 -boot 0x120000 -div8 -wait 300 -uboot ..\..\uboot.boot -app ..\..\app.bin -res ..\..\cfg_tool.bin tone.cfg p11_code.bin ..\..\eq_cfg_hw.bin -uboot_compress -format all -key 646-AC690X-7603.key
@REM..\..\isd_download.exe ..\..\isd_config.ini -tonorflash -dev br34 -boot 0x20000 -div8 -wait 300 -uboot ..\..\uboot.boot -app ..\..\app.bin ..\..\cfg_tool.bin -res tone.cfg kws_command.bin p11_code.bin -uboot_compress

View File

@ -5369,7 +5369,6 @@ objs/apps/earphone/xtell_Sensor/send_data.c.o
-r=objs/apps/earphone/xtell_Sensor/send_data.c.o,sensor_collect_task,pl
-r=objs/apps/earphone/xtell_Sensor/send_data.c.o,mmc5603nj_read_mag_data,l
-r=objs/apps/earphone/xtell_Sensor/send_data.c.o,SL_SC7U22_FIFO_Read,l
-r=objs/apps/earphone/xtell_Sensor/send_data.c.o,bmp280_read_data,l
-r=objs/apps/earphone/xtell_Sensor/send_data.c.o,circle_buffer_write,l
-r=objs/apps/earphone/xtell_Sensor/send_data.c.o,os_sem_post,l
-r=objs/apps/earphone/xtell_Sensor/send_data.c.o,os_time_dly,l