Commit 12d41fdf authored by Michael Cook's avatar Michael Cook

Merge branch 'episys/oai_home_update' into 'episys/master'

Episys/oai home update

See merge request aburger/openairinterface5g!22
parents 0b7452a6 c541324c
......@@ -852,7 +852,7 @@ void init_bler_table(void)
char * token;
char * temp = NULL;
FILE *pFile;
char * home = getenv("HOME");
const char *openair_dir = getenv("OPENAIR_DIR");
// Maybe not needed... and may not work.
memset(bler_data, 0, sizeof(bler_data));
......@@ -860,7 +860,7 @@ void init_bler_table(void)
for (unsigned int i = 0; i < NUM_MCS; i++)
{
// Filename needs to be changed to dynamic name
snprintf(fName, sizeof(fName), "%s/openairinterface5g/openair1/SIMULATION/LTE_PHY/BLER_SIMULATIONS/AWGN/AWGN_results/bler_tx1_chan18_nrx1_mcs%d.csv", home, i);
snprintf(fName, sizeof(fName), "%s/openair1/SIMULATION/LTE_PHY/BLER_SIMULATIONS/AWGN/AWGN_results/bler_tx1_chan18_nrx1_mcs%d.csv", openair_dir, i);
pFile = fopen(fName, "r");
if(!pFile)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment