Fixed memory error

This commit is contained in:
Andrew Burger
2020-07-24 15:19:04 -07:00
parent 5db290dd96
commit 5ead5cf2da
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ uint16_t frame_cnt=0;
void handle_rach(UL_IND_t *UL_info) {
int i;
int j = UL_info->subframe;
AssertFatal(j < sizeof(UL_RCC_INFO.rach_ind) / sizeof(UL_RCC_INFO.rach_ind[0]), "j index out of range of index of rach_ind\n");
if (NFAPI_MODE == NFAPI_MODE_VNF)
{
if (UL_RCC_INFO.rach_ind[j].rach_indication_body.number_of_preambles > 0)