修改can总线上传延时算法
This commit is contained in:
@@ -101,6 +101,20 @@ static int test(list_def *argv)
|
||||
|
||||
|
||||
|
||||
static int debug_en(list_def *argv)
|
||||
{
|
||||
if(list_length(argv)<2){
|
||||
cmd_print("param num too less.");
|
||||
return -1;
|
||||
}
|
||||
int en=str_atoi(list_get_str(argv,1));
|
||||
debug_enable(en);
|
||||
cmd_print("debug_en:%d",en);
|
||||
return 0;
|
||||
}
|
||||
commend_export(debug,debug_en,"enable or disable debug log.")
|
||||
|
||||
|
||||
|
||||
static int scheme_info(list_def *argv)
|
||||
{
|
||||
|
Reference in New Issue
Block a user