fix typos and compilation errors

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
This commit is contained in:
Raphael Defosseux
2020-06-18 10:17:06 +02:00
parent f33278ac52
commit 196ba803aa
2 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -449,7 +449,7 @@ function main() {
########################################################
# 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
echo_info "No local radio head and no transport protocol selected"
fi
+2 -3
View File
@@ -76,8 +76,6 @@ uint16_t sf_ahead = 4;
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 exit_function(const char *file, const char *function, const int line, const char *s) {
@@ -163,7 +161,8 @@ int main ( int argc, char **argv )
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.chain=(get_softmodem_params()->chain_offset);