trx/txtime_setter: reduce code nesting in process_txtime_of_burst()
Change-Id: I5c334e16d6b28a5e32cd62a177ad56bfc8e748ee
This commit is contained in:
parent
ef93382ed1
commit
06f76fb3a6
|
@ -116,8 +116,9 @@ namespace gr {
|
|||
|
||||
void txtime_setter_impl::process_txtime_of_burst(pmt::pmt_t msg_in)
|
||||
{
|
||||
if (d_fn_ref != UNKNOWN_FN)
|
||||
{
|
||||
if (d_fn_ref == UNKNOWN_FN)
|
||||
return;
|
||||
|
||||
pmt::pmt_t blob = pmt::cdr(msg_in);
|
||||
|
||||
// Extract GSMTAP header from message
|
||||
|
@ -163,7 +164,6 @@ namespace gr {
|
|||
message_port_pub(pmt::mp("bursts_out"), msg_out);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void txtime_setter_impl::set_fn_time_reference(
|
||||
uint32_t fn, uint32_t ts, uint64_t time_secs,
|
||||
|
|
Loading…
Reference in New Issue