优化
This commit is contained in:
10
EC800M.h
10
EC800M.h
@@ -2,6 +2,7 @@
|
||||
#define EC800M_H
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "pico/stdlib.h"
|
||||
#include "hardware/uart.h"
|
||||
@@ -10,12 +11,17 @@
|
||||
#define GPS_UART_BAUD_RATE 115200
|
||||
#define GPSDATA_LENGTH 8192
|
||||
|
||||
typedef struct GPS_ {
|
||||
char time[10];
|
||||
char N[20];
|
||||
char E[20];
|
||||
} GPS_;
|
||||
|
||||
extern char GPSDATA[GPSDATA_LENGTH];
|
||||
extern int GPSDATA_LEN;
|
||||
|
||||
extern int EC800M_INIT();
|
||||
extern char *EC800M();
|
||||
extern char *EC800M_GPS_DATA_PARSING(char *GPS_DATA);
|
||||
extern void reset_data();
|
||||
extern void EC800M_GPS_DATA_PARSING(char *GPS_DATA, GPS_ * gps_);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user