ue,proc_ra: fix state to str converter

this array wasn't updated after the state enum has been updated
master
Andre Puschmann 3 years ago
parent 70eaec21e2
commit 941a032ea1

@ -23,13 +23,11 @@
namespace srsue {
const char* state_str[] = {"RA: INIT: ",
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…
Cancel
Save