WXK
2025-02-11 8084e7a5fc17c7816cc6b7ad9cf22fef45137891
APL/App.c
@@ -288,7 +288,7 @@
    //deca_sleep(1000);
    g_com_map[GROUP_ID]=3;
   g_com_map[VERSION] = (3<<8)|1;
   g_com_map[VERSION] = (3<<8)|3;
    if (g_com_map[COM_INTERVAL] <50)
    {
@@ -424,6 +424,10 @@
    u16 uwbchecksum;
    IdleTask();
    HAL_IWDG_Refresh(&hiwdg);
    if(bat_percent<=5)
    {
    HAL_GPIO_WritePin(GPIOA, GPIO_PIN_8, GPIO_PIN_RESET);
    }
    if(HAL_GPIO_ReadPin(INPUT_5V_GPIO_Port,INPUT_5V_Pin))//5V输入检测
    {   
        PowerLedTask();