pdu: default initialize pdu members with MAC log

MAC PDUs are default logged using the MAC log. So this gives
hex prints, etc. without having to manually set the logger for each
PDU.
master
Andre Puschmann 4 years ago
parent fcf481b83e
commit dadff1a947

@ -456,7 +456,7 @@ private:
class rar_pdu : public pdu<rar_subh>
{
public:
rar_pdu(uint32_t max_rars = 16, srslte::log_ref log_ = {});
rar_pdu(uint32_t max_rars = 16, srslte::log_ref log_ = srslte::logmap::get("MAC"));
void set_backoff(uint8_t bi);
bool has_backoff();

Loading…
Cancel
Save