fix typos and compilation errors
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
This commit is contained in:
@@ -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;
|
|||||||
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 )
|
|||||||
|
|
||||||
|
|
||||||
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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user