From 084e00c425ed6c861885ca704086825f28fe48c4 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Fri, 12 Nov 2021 12:14:08 +0100 Subject: x300: clang-format --- host/lib/usrp/x300/x300_image_loader.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'host/lib/usrp/x300/x300_image_loader.cpp') diff --git a/host/lib/usrp/x300/x300_image_loader.cpp b/host/lib/usrp/x300/x300_image_loader.cpp index a6ebbe800..7514d3901 100644 --- a/host/lib/usrp/x300/x300_image_loader.cpp +++ b/host/lib/usrp/x300/x300_image_loader.cpp @@ -241,13 +241,12 @@ static void x300_setup_session(x300_session_t& session, throw uhd::runtime_error( "Found a device but could not auto-generate an image filename."); } else { - session.filepath = - find_image_path("usrp_" + sanitized_product_name + - "_fpga_" + session.fpga_type + ".bit"); + session.filepath = find_image_path( + "usrp_" + sanitized_product_name + "_fpga_" + session.fpga_type + ".bit"); } } else { session.fpga_type = ""; - session.filepath = filepath; + session.filepath = filepath; } /* @@ -292,7 +291,7 @@ static UHD_INLINE bool x300_recv_ok(const x300_fpga_update_data_t* pkt_in, size_ { return (len > 0 and ((ntohl(pkt_in->flags) & X300_FPGA_PROG_FLAGS_ERROR) - != X300_FPGA_PROG_FLAGS_ERROR)); + != X300_FPGA_PROG_FLAGS_ERROR)); } // Image data needs to be bitswapped -- cgit v1.2.3