From 876d4150aa3da531ddd687b48afada6e43f79146 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Mon, 2 Mar 2020 15:25:13 -0800 Subject: uhd: Apply clang-format against all .cpp and .hpp files in host/ Note: template_lvbitx.{cpp,hpp} need to be excluded from the list of files that clang-format gets applied against. --- host/lib/usrp/fe_connection_python.hpp | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'host/lib/usrp/fe_connection_python.hpp') diff --git a/host/lib/usrp/fe_connection_python.hpp b/host/lib/usrp/fe_connection_python.hpp index d1304909e..247781981 100644 --- a/host/lib/usrp/fe_connection_python.hpp +++ b/host/lib/usrp/fe_connection_python.hpp @@ -18,8 +18,7 @@ void export_fe_connection(py::module& m) py::enum_(m, "sampling") .value("QUADRATURE", sampling_t::QUADRATURE) .value("HETERODYNE", sampling_t::HETERODYNE) - .value("REAL" , sampling_t::REAL ) - ; + .value("REAL", sampling_t::REAL); py::class_(m, "fe_connection") @@ -29,12 +28,11 @@ void export_fe_connection(py::module& m) // Methods .def("get_sampling_mode", &fe_connection_t::get_sampling_mode) - .def("is_iq_swapped" , &fe_connection_t::is_iq_swapped ) - .def("is_i_inverted" , &fe_connection_t::is_i_inverted ) - .def("is_q_inverted" , &fe_connection_t::is_q_inverted ) - .def("get_if_freq" , &fe_connection_t::get_if_freq ) - .def("set_if_freq" , &fe_connection_t::set_if_freq ) - ; + .def("is_iq_swapped", &fe_connection_t::is_iq_swapped) + .def("is_i_inverted", &fe_connection_t::is_i_inverted) + .def("is_q_inverted", &fe_connection_t::is_q_inverted) + .def("get_if_freq", &fe_connection_t::get_if_freq) + .def("set_if_freq", &fe_connection_t::set_if_freq); } #endif /* INCLUDED_UHD_USRP_FE_CONNECTION_PYTHON_HPP */ -- cgit v1.2.3