Commit 94d956fa authored by cig's avatar cig

Fixed warning about use of wrong enum

parent d5877d75
...@@ -708,7 +708,7 @@ void *UE_thread(void *arg) { ...@@ -708,7 +708,7 @@ void *UE_thread(void *arg) {
(mac->scc->tdd_UL_DL_ConfigurationCommon->pattern1.nrofUplinkSymbols!=0); (mac->scc->tdd_UL_DL_ConfigurationCommon->pattern1.nrofUplinkSymbols!=0);
uint8_t first_tx_slot = tdd_period - num_UL_slots; uint8_t first_tx_slot = tdd_period - num_UL_slots;
if (openair0_cfg[0].duplex_mode == TDD) { if (openair0_cfg[0].duplex_mode == duplex_mode_TDD) {
if (slot_tx_usrp % tdd_period == first_tx_slot) if (slot_tx_usrp % tdd_period == first_tx_slot)
flags = 2; flags = 2;
else if (slot_tx_usrp % tdd_period == first_tx_slot + num_UL_slots - 1) else if (slot_tx_usrp % tdd_period == first_tx_slot + num_UL_slots - 1)
......
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