1
WXK
2023-08-28 aa08ceb38550e9e6f1ee2d74e1d57339fc6888a6
APL/APL.c
@@ -99,10 +99,10 @@
/*******************************************************************************
 *                             Local Function                                  *
 *******************************************************************************/
extern void delay_ms(uint32_t nTimer)  ;
void PowerDownDetect(void)
{  
 static HIDO_UINT32 l_u32QXpowerTick = 0;
static uint32_t powercount=0;
   
    if(HAL_GPIO_ReadPin(GPIOB,GPIO_PIN_9))
      {
@@ -188,6 +188,8 @@
 * Modified Date:    : 2018年7月23日
 *******************************************************************************/
extern uint32_t nomove_time;
extern void MX_Init(void);
extern  void SystemClock_Config(void);
void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin)
{
    if(GPIO_Pin == GPIO_PIN_5)
@@ -211,6 +213,7 @@
    }
    
}
extern void Set4LEDColor_Off(void);
uint8_t lora_sendfinalbag_num;
void lora_sendfinalbag_Poll()
{
@@ -266,6 +269,7 @@
 * Author            : 杜键
 * Modified Date:    : 2018年5月8日
 *******************************************************************************/
extern HIDO_UINT32 Battery_GetPercentage(void);
HIDO_INT32 APL_Init(void)
{
    //Power_GPS_LoraOn();