|
@@ -144,35 +144,37 @@ void app_main()
|
|
int update = 0;
|
|
int update = 0;
|
|
update = update_result_deal();
|
|
update = update_result_deal();
|
|
}
|
|
}
|
|
- // xTaskCreate(my_app, "my_app", 256, NULL, 1, NULL);
|
|
|
|
|
|
+ // xTaskCreate(my_app, "my_app", 256, NULL, 1, NULL);
|
|
printf(">>>>>>>>>>>>>>>>>app_main...\n");
|
|
printf(">>>>>>>>>>>>>>>>>app_main...\n");
|
|
printf(">>> v220,2022-11-23 >>>\n");
|
|
printf(">>> v220,2022-11-23 >>>\n");
|
|
-
|
|
|
|
-// if (get_charge_online_flag())
|
|
|
|
-// {
|
|
|
|
-// #if (TCFG_SYS_LVD_EN == 1)
|
|
|
|
-// vbat_check_init();
|
|
|
|
-// #endif
|
|
|
|
-// }
|
|
|
|
-// else
|
|
|
|
-// {
|
|
|
|
-// check_power_on_voltage();
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
-// #if TCFG_POWER_ON_NEED_KEY
|
|
|
|
-// check_power_on_key();
|
|
|
|
-// #endif
|
|
|
|
-
|
|
|
|
-// #if TCFG_AUDIO_ENABLE
|
|
|
|
-// extern int audio_dec_init();
|
|
|
|
-// extern int audio_enc_init();
|
|
|
|
-// audio_dec_init();
|
|
|
|
-// audio_enc_init();
|
|
|
|
-// #endif /*TCFG_AUDIO_ENABLE*/
|
|
|
|
-
|
|
|
|
-// #if TCFG_KWS_VOICE_RECOGNITION_ENABLE
|
|
|
|
-// jl_kws_main_user_demo();
|
|
|
|
-// #endif /* #if TCFG_KWS_VOICE_RECOGNITION_ENABLE */
|
|
|
|
|
|
+ // clk_set("sys", 96 * 1000000);
|
|
|
|
+ uint32_t clock = clk_get("sys");
|
|
|
|
+ printf("get_info_clock(sys):%u", clock);
|
|
|
|
+ // if (get_charge_online_flag())
|
|
|
|
+ // {
|
|
|
|
+ // #if (TCFG_SYS_LVD_EN == 1)
|
|
|
|
+ // vbat_check_init();
|
|
|
|
+ // #endif
|
|
|
|
+ // }
|
|
|
|
+ // else
|
|
|
|
+ // {
|
|
|
|
+ // check_power_on_voltage();
|
|
|
|
+ // }
|
|
|
|
+
|
|
|
|
+ // #if TCFG_POWER_ON_NEED_KEY
|
|
|
|
+ // check_power_on_key();
|
|
|
|
+ // #endif
|
|
|
|
+
|
|
|
|
+ // #if TCFG_AUDIO_ENABLE
|
|
|
|
+ // extern int audio_dec_init();
|
|
|
|
+ // extern int audio_enc_init();
|
|
|
|
+ // audio_dec_init();
|
|
|
|
+ // audio_enc_init();
|
|
|
|
+ // #endif /*TCFG_AUDIO_ENABLE*/
|
|
|
|
+
|
|
|
|
+ // #if TCFG_KWS_VOICE_RECOGNITION_ENABLE
|
|
|
|
+ // jl_kws_main_user_demo();
|
|
|
|
+ // #endif /* #if TCFG_KWS_VOICE_RECOGNITION_ENABLE */
|
|
|
|
|
|
init_intent(&it);
|
|
init_intent(&it);
|
|
|
|
|
|
@@ -244,9 +246,9 @@ void app_main()
|
|
|
|
|
|
start_app(&it);
|
|
start_app(&it);
|
|
|
|
|
|
-// #if TCFG_CHARGE_ENABLE
|
|
|
|
-// set_charge_event_flag(1);
|
|
|
|
-// #endif
|
|
|
|
|
|
+ // #if TCFG_CHARGE_ENABLE
|
|
|
|
+ // set_charge_event_flag(1);
|
|
|
|
+ // #endif
|
|
}
|
|
}
|
|
|
|
|
|
/*
|
|
/*
|