添加遥控业务代码
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#include "IEC104_Command.h"
|
||||
|
||||
static IEC104_Command_t *Create_Command(IEC104_Slave_t *slave)
|
||||
{
|
||||
IEC104_CommandConfig_t config;
|
||||
IEC104_Command_Config_Default(&config);
|
||||
return IEC104_Command_Create(slave, &config);
|
||||
}
|
||||
|
||||
int main(void)
|
||||
{
|
||||
return Create_Command(NULL) != NULL;
|
||||
}
|
||||
Reference in New Issue
Block a user