mirror of https://github.com/PentHertz/srsLTE.git
pdu: fix to_string() for TA command
the get_ta_cmd() is returning uint8_t which stringstream interprets as ASCII character by default. So the log message is bogus.
This commit is contained in:
parent
0ad0e9acac
commit
c5514d7f80
|
@ -956,7 +956,7 @@ std::string sch_subh::to_string()
|
|||
ss << "CON_RES: id=0x" << std::hex << get_con_res_id() << std::dec;
|
||||
break;
|
||||
case dl_sch_lcid::TA_CMD:
|
||||
ss << "TA: ta=" << get_ta_cmd();
|
||||
ss << "TA: ta=" << std::to_string(get_ta_cmd());
|
||||
break;
|
||||
case dl_sch_lcid::SCELL_ACTIVATION_4_OCTET:
|
||||
case dl_sch_lcid::SCELL_ACTIVATION:
|
||||
|
|
Loading…
Reference in New Issue