aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/fe_connection_python.hpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2020-03-02 15:25:13 -0800
committeratrnati <54334261+atrnati@users.noreply.github.com>2020-03-03 08:51:32 -0600
commit876d4150aa3da531ddd687b48afada6e43f79146 (patch)
treefd72a71419f4cd800d4e500cfcaded4dfc8dc367 /host/lib/usrp/fe_connection_python.hpp
parent1393553d623bdf4ba40d5435c9719b6ce990d9ac (diff)
downloaduhd-876d4150aa3da531ddd687b48afada6e43f79146.tar.gz
uhd-876d4150aa3da531ddd687b48afada6e43f79146.tar.bz2
uhd-876d4150aa3da531ddd687b48afada6e43f79146.zip
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.
Diffstat (limited to 'host/lib/usrp/fe_connection_python.hpp')
-rw-r--r--host/lib/usrp/fe_connection_python.hpp14
1 files changed, 6 insertions, 8 deletions
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_<sampling_t>(m, "sampling")
.value("QUADRATURE", sampling_t::QUADRATURE)
.value("HETERODYNE", sampling_t::HETERODYNE)
- .value("REAL" , sampling_t::REAL )
- ;
+ .value("REAL", sampling_t::REAL);
py::class_<fe_connection_t>(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 */