From 4d1befbc05e5aa03508a14c514d3f82d0d1cb2c8 Mon Sep 17 00:00:00 2001 From: Bastian Bloessl Date: Mon, 19 Jul 2021 08:15:10 +0200 Subject: [PATCH] fix formatting --- .editorconfig | 13 ------------- lib/decode_mac.cc | 4 ++-- lib/frame_equalizer_impl.cc | 4 ++-- 3 files changed, 4 insertions(+), 17 deletions(-) delete mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig deleted file mode 100644 index 8db29c4..0000000 --- a/.editorconfig +++ /dev/null @@ -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 - diff --git a/lib/decode_mac.cc b/lib/decode_mac.cc index e7f39e7..4a22881 100644 --- a/lib/decode_mac.cc +++ b/lib/decode_mac.cc @@ -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)); } diff --git a/lib/frame_equalizer_impl.cc b/lib/frame_equalizer_impl.cc index a1f3af6..d683c6c 100644 --- a/lib/frame_equalizer_impl.cc +++ b/lib/frame_equalizer_impl.cc @@ -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()); } - } }