diff --git a/source/app/main.c b/source/app/main.c index 6d8934a..1775455 100644 --- a/source/app/main.c +++ b/source/app/main.c @@ -88,10 +88,10 @@ void main(void) L0_uart0_sendArrayHex(G.mcu_id, MSP_ID_LEN); L0_uart0_0d0a(); - // //版本信息 - // L0_uart0_sendstr("Version info : "); - // L0_uart0_sendArray("PEN_V4_8k",9); - // L0_uart0_0d0a(); + //版本信息 + L0_uart0_sendstr("Version info : "); + L0_uart0_sendArray("PEN_V4_8k_Fixed",15); + L0_uart0_0d0a(); while(1) { @@ -100,11 +100,11 @@ void main(void) { s_nos_tick.t1s_heartbeat = 0;//置0清空 L0_uart0_uc('.'); - // L0_uart0_sendstr("ADC = "); - // L0_uart0_ushex(_s_task_adc.adc_val[_s_task_adc.index]); - // L0_uart0_0d0a(); - // L0_uart0_sendstr("Vin = "); - // L0_uart0_ushex(G.Vin); + L0_uart0_sendstr("ADC = "); + L0_uart0_ushex(_s_task_adc.adc_val[_s_task_adc.index]); + L0_uart0_0d0a(); + L0_uart0_sendstr("Vin = "); + L0_uart0_ushex(G.Vin); // i++; // if (i == 3) // { diff --git a/source/app/task_appstatus.c b/source/app/task_appstatus.c index 2f7069f..426ff95 100644 --- a/source/app/task_appstatus.c +++ b/source/app/task_appstatus.c @@ -68,6 +68,9 @@ void L3_task_appstatus_handler(S_TASK_APPSTATUS *s) L2_WT2605B_Broadcast(&audio_powerdown); // OID、WIFI关闭 L2_OID_WIFI_Close(); + Lc_delay_ms(5000); + // 语音模块关闭 + L2_WT2605B_OFF(); } else if (s->status == POW_ON_WAIT) { @@ -75,6 +78,9 @@ void L3_task_appstatus_handler(S_TASK_APPSTATUS *s) L2_RED_LED_ON(); // OID、WIFI开启 L2_OID_WIFI_Open(); + // 语音模块开启 + L2_WT2605B_ON(); + Lc_delay_ms(4000); // 通电后播放开机语音 L2_WT2605B_Broadcast(&audio_poweron); //wifi任务初始化 diff --git a/source/app/task_game.c b/source/app/task_game.c index 9b7137c..2d218f3 100644 --- a/source/app/task_game.c +++ b/source/app/task_game.c @@ -1327,7 +1327,7 @@ void L3_task_game_init(void) _s_task_game.game_info[102].game_supported_oid[2].oid = 0xC203; _s_task_game.game_info[102].game_supported_oid[3].oid = 0xC204; _s_task_game.game_info[102].game_supported_oid[4].oid = 0xC205; - _s_task_game.game_info[102].game_supported_oid[5].oid = 0xC206; + _s_task_game.game_info[102].game_supported_oid[5].oid = 0xC26A; _s_task_game.game_info[102].game_supported_oid[6].oid = 0xC2FF; //错误码 _s_task_game.game_info[102].game_supported_oid[6].yes_or_no = 1; _s_task_game.game_info[102].game_order = 1; diff --git a/source/bsp/bsp_wifi.c b/source/bsp/bsp_wifi.c index 801f908..b02efde 100644 --- a/source/bsp/bsp_wifi.c +++ b/source/bsp/bsp_wifi.c @@ -5,7 +5,7 @@ void L2_Wifi_init() D_stdIO_P1(BITN0); D_stdIO_P1(BITN1); D_stdIO_P5(BITN2); - L2_OID_WIFI_Open(); + L2_OID_WIFI_Close(); } void L2_OID_WIFI_Open()