ue,proc_ra: fix state to str converter

this array wasn't updated after the state enum has been updated
This commit is contained in:
Andre Puschmann 2022-04-28 11:13:26 +02:00
parent 70eaec21e2
commit 941a032ea1
1 changed files with 4 additions and 6 deletions

View File

@ -23,13 +23,11 @@
namespace srsue {
const char* state_str[] = {"RA: INIT: ",
"RA: PDCCH: ",
"RA: Rx: ",
const char* state_str[] = {"RA: IDLE: ",
"RA: PDCCH: ",
"RA: Rx: ",
"RA: Backoff: ",
"RA: ConRes: ",
"RA: WaitComplt: ",
"RA: Complt: "};
"RA: ConRes: "};
#define rError(fmt, ...) logger.error("%s" fmt, state_str[state], ##__VA_ARGS__)
#define rInfo(fmt, ...) logger.info("%s" fmt, state_str[state], ##__VA_ARGS__)