pg_debug.h
来自「一个移植到凌阳单片机spce061a上面的实时操作系统」· C头文件 代码 · 共 30 行
H
30 行
///////////////////////////////////////////////////////////////
//
//
// PGOS : A Portable,Configable Embedded System Kernel
//
// Intel X86 Specific Code
//
// This is an open source project under GPL lincence
//
// Version 0.9.0 ---- Development Snopshot
//
// File name : pg_debug.h : PGOS Debug Module Support
// History :
//
// 2005-08-09 First build by X.K. @ PGOS Team
//
/////////////////////////////////////////////////////////////////
#ifndef PG_DEBUG_H
#define PG_DEBUG_H
#define PG_ASSERT(x) do \
{ \
if( !( BOOL )( x ) ) \
printf("DEBUG Mode : Found Assert Error!" ) ; \
pgos_sch_lock() ; \
for( ;; ) ; \
}while(0)
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?