📄 init.c
字号:
/***************************************************************************
init.c - description
-------------------
begin : Fri May 17 2002
copyright : (C) 2002 by Raphael Zulliger
email : zulli@hsr.ch
***************************************************************************/
/***************************************************************************
* *
* This library is Copyright (c) Raphael Zulliger <zulli@gmx.net>. *
* It is licensed under the GNU Library General Public License (LGPL). *
* *
***************************************************************************/
#include <init.h>
#include <canop.h>
BYTE bDeviceNodeId;
BYTE bStateMachineState;
BYTE initConnection( sInitParameter* initParameter )
{
bDeviceNodeId = initParameter->bNodeID;
// send this to the platform-specific function which sets the can-controller
setupCanInterface( initParameter );
return 0;
}
void closeConnection( void )
{
closeCanInterface( );
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -