diff options
author | Martin Braun <martin.braun@ettus.com> | 2021-11-12 12:14:08 +0100 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2022-01-11 15:34:51 -0600 |
commit | 084e00c425ed6c861885ca704086825f28fe48c4 (patch) | |
tree | 5d9ef7cfbf1fa6d8644281be6713d28c0f6fc5ec /host/lib/usrp/x300/x300_image_loader.cpp | |
parent | 57635b69e165b01ababfa064c5f0ccf405582f31 (diff) | |
download | uhd-084e00c425ed6c861885ca704086825f28fe48c4.tar.gz uhd-084e00c425ed6c861885ca704086825f28fe48c4.tar.bz2 uhd-084e00c425ed6c861885ca704086825f28fe48c4.zip |
x300: clang-format
Diffstat (limited to 'host/lib/usrp/x300/x300_image_loader.cpp')
-rw-r--r-- | host/lib/usrp/x300/x300_image_loader.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
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 |