Simplify code through lookup of PDU name, delete commented code
This commit is contained in:
committed by
Robert Schmidt
parent
80223d36d5
commit
0d083d83fc
@@ -1481,7 +1481,10 @@ typedef enum {
|
||||
NFAPI_NR_UL_CONFIG_PUCCH_PDU_TYPE,
|
||||
NFAPI_NR_UL_CONFIG_SRS_PDU_TYPE,
|
||||
} nfapi_nr_ul_config_pdu_type_e;
|
||||
|
||||
static const char* const txt_nfapi_nr_ul_config_pdu_type[] = {"NFAPI_NR_UL_CONFIG_PRACH_PDU_TYPE",
|
||||
"NFAPI_NR_UL_CONFIG_PUSCH_PDU_TYPE",
|
||||
"NFAPI_NR_UL_CONFIG_PUCCH_PDU_TYPE",
|
||||
"NFAPI_NR_UL_CONFIG_SRS_PDU_TYPE"};
|
||||
typedef struct
|
||||
{
|
||||
uint16_t pdu_type;//0: PRACH PDU, 1: PUSCH PDU, 2: PUCCH PDU, 3: SRS PDU
|
||||
|
||||
Reference in New Issue
Block a user