APL/App.c
@@ -195,7 +195,7 @@ //deca_sleep(1000); g_com_map[GROUP_ID]=3; g_com_map[VERSION] = (3<<8)|3; g_com_map[VERSION] = (3<<8)|5; if (g_com_map[COM_INTERVAL] <50) { @@ -498,6 +498,12 @@ } } } if(bat_percent<=1) { HAL_GPIO_WritePin(GPIOA, GPIO_PIN_12, GPIO_PIN_RESET); HAL_GPIO_WritePin(GPIOB, GPIO_PIN_10, GPIO_PIN_RESET); HAL_GPIO_WritePin(GPIOA, GPIO_PIN_8, GPIO_PIN_RESET); } } extern uint32_t main_time;