remove a unused global storage of slot number

This has no meaning at a global level, we run several slots: one tx,
several rx at same time. Some minor cleaning of C style
This commit is contained in:
Laurent THOMAS
2024-05-03 18:32:26 +02:00
committed by Robert Schmidt
parent c02908453a
commit 00d78f048a
9 changed files with 13 additions and 21 deletions
+4 -2
View File
@@ -1089,9 +1089,11 @@ void ru_tx_func(void *param) {
if(!emulate_rf) {
// do outgoing fronthaul (south) if needed
if ((ru->fh_north_asynch_in == NULL) && (ru->fh_south_out)) ru->fh_south_out(ru,frame_tx,slot_tx,info->timestamp_tx);
if ((ru->fh_north_asynch_in == NULL) && (ru->fh_south_out))
ru->fh_south_out(ru, frame_tx, slot_tx, info->timestamp_tx);
if (ru->fh_north_out) ru->fh_north_out(ru);
if (ru->fh_north_out)
ru->fh_north_out(ru);
} else {
if(frame_tx == print_frame) {
for (int i=0; i<ru->nb_tx; i++) {