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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
1fb68160
Commit
1fb68160
authored
Oct 27, 2023
by
Laurent THOMAS
Committed by
Robert Schmidt
Oct 27, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
config: harmonize number array parameters
parent
b257734c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
executables/softmodem-common.c
executables/softmodem-common.c
+3
-3
No files found.
executables/softmodem-common.c
View file @
1fb68160
...
...
@@ -105,10 +105,10 @@ void get_common_options(uint32_t execmask) {
paramdef_t
cmdline_params
[]
=
CMDLINE_PARAMS_DESC
;
checkedparam_t
cmdline_CheckParams
[]
=
CMDLINE_PARAMS_CHECK_DESC
;
int
numparams
=
sizeof
(
cmdline_params
)
/
sizeof
(
paramdef_t
);
int
numparams
=
sizeof
Array
(
cmdline_params
);
config_set_checkfunctions
(
cmdline_params
,
cmdline_CheckParams
,
numparams
);
config_get
(
cmdline_params
,
sizeof
(
cmdline_params
)
/
sizeof
(
paramdef_t
)
,
NULL
);
nfapi_index
=
config_paramidx_fromname
(
cmdline_params
,
sizeof
(
cmdline_params
)
/
sizeof
(
paramdef_t
),
"nfapi"
);
config_get
(
cmdline_params
,
numparams
,
NULL
);
nfapi_index
=
config_paramidx_fromname
(
cmdline_params
,
numparams
,
"nfapi"
);
AssertFatal
(
nfapi_index
>=
0
,
"Index for nfapi config option not found!"
);
nfapi_mode
=
config_get_processedint
(
&
cmdline_params
[
nfapi_index
]);
...
...
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