move NR_NUMBER_OF_SYMBOLS_PER_SLOT into an NR file

This commit is contained in:
francescomani
2025-04-01 18:47:04 +02:00
committed by Robert Schmidt
parent fca1971a2d
commit 0a95bbcfd3
3 changed files with 2 additions and 3 deletions
-1
View File
@@ -85,7 +85,6 @@
#define LTE_CE_OFFSET LTE_CE_FILTER_LENGTH
#define TX_RX_SWITCH_SYMBOL (NUMBER_OF_SYMBOLS_PER_FRAME>>1)
#define PBCH_PDU_SIZE 3 //bytes
#define NR_NUMBER_OF_SYMBOLS_PER_SLOT 14
#define PRACH_SYMBOL 3 //position of the UL PSS wrt 2nd slot of special subframe
+1 -1
View File
@@ -63,7 +63,7 @@ void handle_nfapi_nr_csirs_pdu(processingData_L1tx_t *msgTx, int frame, int slot
{
int found = 0;
for (int id = 0; id < NR_SYMBOLS_PER_SLOT; id++) {
for (int id = 0; id < NR_NUMBER_OF_SYMBOLS_PER_SLOT; id++) {
NR_gNB_CSIRS_t *csirs = &msgTx->csirs_pdu[id];
if (csirs->active == 0) {
LOG_D(NR_PHY,"Frame %d Slot %d CSI_RS with ID %d is now active\n",frame,slot,id);