zprint.h

来自「在ARM7和UC/OSII的平台上实现了GPS自动报站的功能,涉及GPS模块LE」· C头文件 代码 · 共 20 行

H
20
字号
#ifndef ZPRINT_HEAD
#define ZPRINT_HEAD
unsigned int StrLen( register const char *s );
void Printu( const char *format, ... );
void Printu_Net(const char *format, ...);
void PrintString(INT8U Type,INT8U *Str, INT16U Len);


#ifndef NDEBUG
#define ASSERT( _expr )						\
		if(!_expr)				\
		{      							\
			Printu("Assertion failed: file %s, line %d\r\n",__FILE__, __LINE__ );\
			ResetCPU();			\
		}						
#else
#define ASSERT(_expr)	
#endif

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?