Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangjie
OpenXG-RAN
Commits
86dc0d18
Commit
86dc0d18
authored
Nov 11, 2019
by
masayuki.harada
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change command name.
parent
52bbda0c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
common/utils/telnetsrv/telnetsrv.c
common/utils/telnetsrv/telnetsrv.c
+3
-4
No files found.
common/utils/telnetsrv/telnetsrv.c
View file @
86dc0d18
...
@@ -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
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment