gbl_var.cpp
来自「基于USB接口的GPS应用程序」· C++ 代码 · 共 42 行
CPP
42 行
/******************************************************************/
/* Fiel description: */
/* To define some global variables for system */
/* BCB does not only require definition of gbl vars in header file, */
/* but also require implementation of gbl vars in cpp file . */
/* Author: */
/* Yu Lu */
/* luyu1974@gmail.com */
/******************************************************************/
#include "gbl_var.h"
HANDLE newdataEvent;
HANDLE gpsEvent;
HANDLE dispEvent;
CRITICAL_SECTION GpsCriticalSection;
int GpsWeek;
navmsg allch_navmsg[CH_NUM];
navresult_channel allch_navresult[CH_NUM];
allch_transtime allchtrtime;
bool newmsg_rdy;
bool eph_valid[33];
const char* STATE_MSG[] = {"Acquisition",
"Confirm",
"PullIn",
"Tracking",
NULL
};
const char* GPS_NAV_MSG[] = {" Initialize finished successfully!",
" Fail to open debug file ! ",
NULL
};
const char* IOINTERFACE_MSG[] = {" Initialize finished successfully !",
" Fail to open debug file !",
NULL
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?