Code cleaning in formatting and fixing typo.

This commit is contained in:
David Kim
2021-07-29 13:32:21 -07:00
parent c80193731d
commit 61aa4f99dd
5 changed files with 22 additions and 20 deletions
+3 -1
View File
@@ -443,7 +443,9 @@ static void *gNB_L1_thread( void *param ) {
if (gNB->CC_id==0) {
int next_slot;
next_slot = (slot_rx + 1) % 20;
if (rxtx(gNB,(frame_rx + ((slot_rx + 1) % 20 == 0))%1024,next_slot,(frame_tx + ((slot_rx + 1) % 20 == 0)) % 1024,next_slot,thread_name) < 0) break;
int next_frame_rx = (frame_rx + ((slot_rx + 1) % 20 == 0)) % 1024;
int next_frame_tx = (frame_tx + ((slot_rx + 1) % 20 == 0)) % 1024;
if (rxtx(gNB, next_frame_rx, next_slot, next_frame_tx, next_slot, thread_name) < 0) break;
}
if (wait_on_condition(&L1_proc->mutex,&L1_proc->cond,&L1_proc->instance_cnt,thread_name)<0) break;
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME( VCD_SIGNAL_DUMPER_FUNCTIONS_gNB_PROC_RXTX0, 1 );