Fix is_xlsch_in_slot
This commit is contained in:
@@ -341,7 +341,7 @@ void schedule_nr_SRS(module_id_t module_idP, frame_t frameP, sub_frame_t subfram
|
|||||||
|
|
||||||
bool is_xlsch_in_slot(uint64_t bitmap, sub_frame_t slot) {
|
bool is_xlsch_in_slot(uint64_t bitmap, sub_frame_t slot) {
|
||||||
if (slot>64) return false; //quickfix for FR2 where there are more than 64 slots (bitmap to be removed)
|
if (slot>64) return false; //quickfix for FR2 where there are more than 64 slots (bitmap to be removed)
|
||||||
return (bitmap >> slot) & 0x01;
|
return (bitmap & (1 << (slot % 64))) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void gNB_dlsch_ulsch_scheduler(module_id_t module_idP,
|
void gNB_dlsch_ulsch_scheduler(module_id_t module_idP,
|
||||||
|
|||||||
Reference in New Issue
Block a user