diff --git a/targets/ARCH/EXMIMO/USERSPACE/LIB/openair0_lib.c b/targets/ARCH/EXMIMO/USERSPACE/LIB/openair0_lib.c index d8c29167c86d973a8c314b109e1deb1d9ca896cb..db928a6a29755b0eda397a30cc47e47a7e541ee8 100644 --- a/targets/ARCH/EXMIMO/USERSPACE/LIB/openair0_lib.c +++ b/targets/ARCH/EXMIMO/USERSPACE/LIB/openair0_lib.c @@ -317,6 +317,13 @@ int openair0_config(openair0_config_t *openair0_cfg, int UE_flag) p_exmimo_config->framing.eNB_flag = !UE_flag; p_exmimo_config->framing.tdd_config = DUPLEXMODE_FDD + TXRXSWITCH_LSB; + + if (openair0_num_detected_cards==1) + p_exmimo_config->framing.multicard_syncmode=SYNCMODE_FREE; + else if (card==0) + p_exmimo_config->framing.multicard_syncmode=SYNCMODE_MASTER; + else + p_exmimo_config->framing.multicard_syncmode=SYNCMODE_SLAVE; if (openair0_cfg[card].sample_rate==30.72e6) { resampling_factor = 0;