Commit 196ba803 authored by Raphael Defosseux's avatar Raphael Defosseux

fix typos and compilation errors

Signed-off-by: default avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent f33278ac
...@@ -449,7 +449,7 @@ function main() { ...@@ -449,7 +449,7 @@ function main() {
######################################################## ########################################################
# to be discussed # to be discussed
if [ "$eNB" = "1" -o "$gNB" = "1" =o "$RU" = "1"] ; then if [ "$eNB" = "1" -o "$gNB" = "1" -o "$RU" = "1" ] ; then
if [ "$HW" = "None" -a "$TP" = "None" ] ; then if [ "$HW" = "None" -a "$TP" = "None" ] ; then
echo_info "No local radio head and no transport protocol selected" echo_info "No local radio head and no transport protocol selected"
fi fi
......
...@@ -76,8 +76,6 @@ uint16_t sf_ahead = 4; ...@@ -76,8 +76,6 @@ uint16_t sf_ahead = 4;
RU_t ru_m; RU_t ru_m;
static int DEFBANDS[] = {7};
void init_RU0(RU_t *ru,int ru_id,char *rf_config_file, int send_dmrssync); void init_RU0(RU_t *ru,int ru_id,char *rf_config_file, int send_dmrssync);
void exit_function(const char *file, const char *function, const int line, const char *s) { void exit_function(const char *file, const char *function, const int line, const char *s) {
...@@ -163,7 +161,8 @@ int main ( int argc, char **argv ) ...@@ -163,7 +161,8 @@ int main ( int argc, char **argv )
RU_t *ru=&ru_m; RU_t *ru=&ru_m;
init_RU0(ru,0,get_softmodem_params()->rf_config_file,get_softmodem_params()->send_dmrs_sync); int ru_id = 0;
init_RU0(ru,ru_id,get_softmodem_params()->rf_config_file,get_softmodem_params()->send_dmrs_sync);
ru->rf_map.card=0; ru->rf_map.card=0;
ru->rf_map.chain=(get_softmodem_params()->chain_offset); ru->rf_map.chain=(get_softmodem_params()->chain_offset);
......
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