Skip to content
Snippets Groups Projects
Commit fcb16521 authored by Raphael Defosseux's avatar Raphael Defosseux
Browse files

Hot fix on UE configuration module proposed by Xenofon Foukas

parent f7a2965b
No related branches found
No related tags found
No related merge requests found
......@@ -693,9 +693,13 @@ int main( int argc, char **argv ) {
#if defined (XFORMS)
int ret;
#endif
configmodule_interface_t *config_mod;
start_background_system();
if ( load_configmodule(argc,argv,CONFIG_ENABLECMDLINEONLY) == NULL) {
config_mod = load_configmodule(argc, argv, CONFIG_ENABLECMDLINEONLY);
if (config_mod == NULL) {
exit_fun("[SOFTMODEM] Error, configuration module init failed\n");
}
......@@ -811,7 +815,7 @@ int main( int argc, char **argv ) {
} else init_openair0(frame_parms[0],(int)rx_gain[0][0]);
if (simL1flag==1) {
AssertFatal(NULL!=load_configmodule(argc,argv,CONFIG_ENABLECMDLINEONLY),
AssertFatal(NULL!=config_mod,
"[SOFTMODEM] Error, configuration module init failed\n");
RCConfig_sim();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment