fix formatting

This commit is contained in:
Bastian Bloessl
2021-07-19 08:15:10 +02:00
parent 24f72aaf08
commit 4d1befbc05
3 changed files with 4 additions and 17 deletions
-13
View File
@@ -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
View File
@@ -150,8 +150,8 @@ public:
// create PDU
pmt::pmt_t blob = pmt::make_blob(out_bytes + 2, d_frame.psdu_size - 4);
d_meta = pmt::dict_add(
d_meta, pmt::mp("dlt"), pmt::from_long(LINKTYPE_IEEE802_11));
d_meta =
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));
}
+2 -2
View File
@@ -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::dict_add(
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,
pmt::mp("frequency offset"),
pmt::from_double(d_freq_offset_from_synclong));
@@ -243,7 +244,6 @@ int frame_equalizer_impl::general_work(int noutput_items,
pmt::cdr(pair),
alias_pmt());
}
}
}