gps_collect.h
来自「通过车载终端采集GPS数据」· C头文件 代码 · 共 21 行
H
21 行
#include "typedef.h"
typedef struct _gps_line_info_ /*共12个字节*/
{
unsigned char linename[4]; /*线路名,如:0001*/
unsigned int gps_counter_up; /*已保存的gps条数*/
unsigned char station_counter_up; /*已采集的站点数*/
unsigned char corner_counter_up; /*已采集的拐弯点数*/
unsigned int gps_counter_down; /*已保存的gps条数*/
unsigned char station_counter_down; /*已采集的站点数*/
unsigned char corner_counter_down; /*已采集的拐弯点数*/
}GPS_LINE_INFO;
void sysinit(void);
void main_process(void);
void process_line(void);
void process_direction(void);
void savetoflash(Uint32 pos, Byte* pBuf, Uint16 nLen);
void savegpstoflash(void);
//extern bit nf_write_onebuf_withouterase(Uint32 pos, Byte* pBuf, Uint16 nLen);
//extern bit nf_read_tobuf(Uint32 pos, Byte* pbuf, Uint8 nlen);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?