fix formatting
This commit is contained in:
@@ -1,13 +0,0 @@
|
|||||||
root = true
|
|
||||||
|
|
||||||
[*]
|
|
||||||
end_of_line = lf
|
|
||||||
insert_final_newline = true
|
|
||||||
|
|
||||||
[Makefile]
|
|
||||||
indent_style = tab
|
|
||||||
|
|
||||||
[**.{cc,h,xml}]
|
|
||||||
indent_style = tab
|
|
||||||
indent_size = 4
|
|
||||||
|
|
||||||
+2
-2
@@ -150,8 +150,8 @@ public:
|
|||||||
|
|
||||||
// create PDU
|
// create PDU
|
||||||
pmt::pmt_t blob = pmt::make_blob(out_bytes + 2, d_frame.psdu_size - 4);
|
pmt::pmt_t blob = pmt::make_blob(out_bytes + 2, d_frame.psdu_size - 4);
|
||||||
d_meta = pmt::dict_add(
|
d_meta =
|
||||||
d_meta, pmt::mp("dlt"), pmt::from_long(LINKTYPE_IEEE802_11));
|
pmt::dict_add(d_meta, pmt::mp("dlt"), pmt::from_long(LINKTYPE_IEEE802_11));
|
||||||
|
|
||||||
message_port_pub(pmt::mp("out"), pmt::cons(d_meta, blob));
|
message_port_pub(pmt::mp("out"), pmt::cons(d_meta, blob));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -224,7 +224,8 @@ int frame_equalizer_impl::general_work(int noutput_items,
|
|||||||
dict, pmt::mp("encoding"), pmt::from_uint64(d_frame_encoding));
|
dict, pmt::mp("encoding"), pmt::from_uint64(d_frame_encoding));
|
||||||
dict = pmt::dict_add(
|
dict = pmt::dict_add(
|
||||||
dict, pmt::mp("snr"), pmt::from_double(d_equalizer->get_snr()));
|
dict, pmt::mp("snr"), pmt::from_double(d_equalizer->get_snr()));
|
||||||
dict = pmt::dict_add(dict, pmt::mp("nominal frequency"), pmt::from_double(d_freq));
|
dict = pmt::dict_add(
|
||||||
|
dict, pmt::mp("nominal frequency"), pmt::from_double(d_freq));
|
||||||
dict = pmt::dict_add(dict,
|
dict = pmt::dict_add(dict,
|
||||||
pmt::mp("frequency offset"),
|
pmt::mp("frequency offset"),
|
||||||
pmt::from_double(d_freq_offset_from_synclong));
|
pmt::from_double(d_freq_offset_from_synclong));
|
||||||
@@ -243,7 +244,6 @@ int frame_equalizer_impl::general_work(int noutput_items,
|
|||||||
pmt::cdr(pair),
|
pmt::cdr(pair),
|
||||||
alias_pmt());
|
alias_pmt());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user