| | |
| | | #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__) |
| | |
| | | * 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 |