1234567891011121314151617181920212223242526272829 |
- #ifndef NRF_GPS_H
- #define NRF_GPS_H
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- #include "boards.h"
- #include "_string.h"
- #include "nrf_uart.h"
-
- typedef void (*gps_rec_func)(bool stat);
-
- typedef struct{
- uint32_t latitude;
- uint32_t longiude;
- bool gps_act;
- gps_rec_func func;
- }nrf_gps_s;
-
- extern nrf_gps_s nrf_gps;
- void Gps_Data_Check(char *str);
- #ifdef __cplusplus
- }
- #endif
- #endif // NRF_GPS_H
|