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/python/pyuhd.cpp | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'host/python/pyuhd.cpp') diff --git a/host/python/pyuhd.cpp b/host/python/pyuhd.cpp index 50434b4fc..9ffaa5bb5 100644 --- a/host/python/pyuhd.cpp +++ b/host/python/pyuhd.cpp @@ -5,8 +5,8 @@ // SPDX-License-Identifier: GPL-3.0-or-later // -#include #include +#include #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION #include @@ -14,21 +14,18 @@ namespace py = pybind11; #include "rfnoc/rfnoc_python.hpp" - #include "stream_python.hpp" - -#include "types/types_python.hpp" -#include "types/serial_python.hpp" -#include "types/time_spec_python.hpp" +#include "types/filters_python.hpp" #include "types/metadata_python.hpp" #include "types/sensors_python.hpp" -#include "types/filters_python.hpp" +#include "types/serial_python.hpp" +#include "types/time_spec_python.hpp" #include "types/tune_python.hpp" - -#include "usrp/fe_connection_python.hpp" +#include "types/types_python.hpp" #include "usrp/dboard_iface_python.hpp" -#include "usrp/subdev_spec_python.hpp" +#include "usrp/fe_connection_python.hpp" #include "usrp/multi_usrp_python.hpp" +#include "usrp/subdev_spec_python.hpp" // We need this hack because import_array() returns NULL // for newer Python versions. @@ -79,4 +76,3 @@ PYBIND11_MODULE(libpyuhd, m) auto rfnoc_module = m.def_submodule("rfnoc", "RFNoC Objects"); export_rfnoc(rfnoc_module); } - -- cgit v1.2.3