实现大部分小板通信命令
This commit is contained in:
30
source/elec_det/elec_cmd.c
Normal file
30
source/elec_det/elec_cmd.c
Normal file
@@ -0,0 +1,30 @@
|
||||
#include "elec_det.h"
|
||||
#include "commend.h"
|
||||
#include "mystring.h"
|
||||
|
||||
|
||||
|
||||
|
||||
// 电子模块相关调试命令
|
||||
|
||||
|
||||
|
||||
static int cmd_check(list_def *argv)
|
||||
{
|
||||
array_def *data=arr_creat();
|
||||
cmd_print("start check.");
|
||||
elec_check_with_scheme(data);
|
||||
arr_delete(data);
|
||||
return 0;
|
||||
}
|
||||
commend_export(check,cmd_check,"start check")
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user