1
WXK
2023-08-28 aa08ceb38550e9e6f1ee2d74e1d57339fc6888a6
FML/GPS.c
@@ -20,6 +20,7 @@
#include "deca_regs.h"
#include "dw_driver.h"
extern uint32_t uwbled,gpsled,loraled,powerled;
extern void Set4LEDColor_Off(void);
uint8_t GPS_final_data[128];
uint8_t GPS_final_changdu;
#define GPS_DBG(level, fmt, ...) HIDO_Debug(fmt, __VA_ARGS__)
@@ -242,14 +243,14 @@
 * Author            : hido.ltd
 * Modified Date:    : 2021年1月8日
 *******************************************************************************/
static HIDO_VOID GPS_Rest(void)
{
    GPIO_SET(&l_astGPSPin[GPS_PIN_REST]);
    HAL_Delay(10);
    GPIO_RESET(&l_astGPSPin[GPS_PIN_REST]);
    HAL_Delay(10);
    GPIO_SET(&l_astGPSPin[GPS_PIN_REST]);
}
//static HIDO_VOID GPS_Rest(void)
//{
//    GPIO_SET(&l_astGPSPin[GPS_PIN_REST]);
//    HAL_Delay(10);
//    GPIO_RESET(&l_astGPSPin[GPS_PIN_REST]);
//    HAL_Delay(10);
//    GPIO_SET(&l_astGPSPin[GPS_PIN_REST]);
//}
/*******************************************************************************
 * Function Name     : GPS_PowerOn