mirror of https://github.com/PentHertz/srsLTE.git
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:
parent
70eaec21e2
commit
941a032ea1
|
@ -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__)
|
||||
|
|
Loading…
Reference in New Issue