Commit 86dc0d18 authored by masayuki.harada's avatar masayuki.harada

Change command name.

parent 52bbda0c
...@@ -137,16 +137,15 @@ int rf_setmod_cmd(char *buff, int debug, telnet_printfunc_t prnt) ...@@ -137,16 +137,15 @@ int rf_setmod_cmd(char *buff, int debug, telnet_printfunc_t prnt)
prnt("%s: wrong setmod parameter...\n",buff); prnt("%s: wrong setmod parameter...\n",buff);
} }
set_rf_test(telnet_rf_test_cmd,telnet_rf_test_time,telnet_rf_test_offset); set_rf_test(telnet_rf_test_cmd,telnet_rf_test_time,telnet_rf_test_offset);
prnt("rf current set: mode %d time %d offset %d\n",telnet_rf_test_cmd,telnet_rf_test_time,telnet_rf_test_offset); prnt("rf current set: mode %d p_time %d g_offset %d\n",telnet_rf_test_cmd,telnet_rf_test_time,telnet_rf_test_offset);
return 0; return 0;
} }
telnetshell_vardef_t rf_vardef[] = { telnetshell_vardef_t rf_vardef[] = {
{"time",TELNET_VARTYPE_INT32,&telnet_rf_test_time}, {"p_time",TELNET_VARTYPE_INT32,&telnet_rf_test_time},
{"offset",TELNET_VARTYPE_INT32,&telnet_rf_test_offset}, {"g_offset",TELNET_VARTYPE_INT32,&telnet_rf_test_offset},
{"",0,NULL} {"",0,NULL}
}; };
static telnetshell_cmddef_t rf_cmdarray[] = { static telnetshell_cmddef_t rf_cmdarray[] = {
{"test","[stop,down,up]",rf_setmod_cmd}, {"test","[stop,down,up]",rf_setmod_cmd},
{"","",NULL}, {"","",NULL},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment