📄 usrappinit.c
字号:
/* usrAppInit.c - stub application initialization routine */
/* Copyright 1984-1998 Wind River Systems, Inc. */
/*
modification history
--------------------
01a,02jun98,ms written
*/
/*
DESCRIPTION
Initialize user application code.
*/
/******************************************************************************
*
* usrAppInit - initialize the users application
*/
#ifdef __cplusplus
extern "C"{
#endif
#include "vxWorks.h"
#include "symLib.h"
void usrAppInit (void)
{
#ifdef USER_APPL_INIT
USER_APPL_INIT; /* for backwards compatibility */
#endif
int nState = 0xaa;
printf("before test() nState = 0x%0x\n", nState );
#if 1
nState = test();
printf("after test() nState = 0x%0x\n", nState );
#endif
/* add application specific code here */
}
#ifdef __cplusplus
}
#endif /* end of __cplusplus */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -