diff options
| author | Martin Braun <martin.braun@ettus.com> | 2020-03-02 15:25:13 -0800 | 
|---|---|---|
| committer | atrnati <54334261+atrnati@users.noreply.github.com> | 2020-03-03 08:51:32 -0600 | 
| commit | 876d4150aa3da531ddd687b48afada6e43f79146 (patch) | |
| tree | fd72a71419f4cd800d4e500cfcaded4dfc8dc367 /host/tests/client_zero_test.cpp | |
| parent | 1393553d623bdf4ba40d5435c9719b6ce990d9ac (diff) | |
| download | uhd-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/tests/client_zero_test.cpp')
| -rw-r--r-- | host/tests/client_zero_test.cpp | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/host/tests/client_zero_test.cpp b/host/tests/client_zero_test.cpp index 927161418..20ce28e8a 100644 --- a/host/tests/client_zero_test.cpp +++ b/host/tests/client_zero_test.cpp @@ -4,8 +4,8 @@  // SPDX-License-Identifier: GPL-3.0-or-later  // -#include <uhd/rfnoc/register_iface.hpp>  #include <uhd/rfnoc/mock_block.hpp> +#include <uhd/rfnoc/register_iface.hpp>  #include <uhd/utils/log.hpp>  #include <uhdlib/rfnoc/client_zero.hpp>  #include <uhdlib/utils/narrow.hpp> @@ -137,10 +137,10 @@ constexpr uint32_t client_zero_test_iface::SLOT_OFFSET;  BOOST_AUTO_TEST_CASE(simple_read_if_chdr_pkt)  { -    constexpr uint16_t DEVICE_ID      = 0xBEEF; -    constexpr uint16_t CTRL_FIFO_SIZE = 5; // in words +    constexpr uint16_t DEVICE_ID           = 0xBEEF; +    constexpr uint16_t CTRL_FIFO_SIZE      = 5; // in words      constexpr uint16_t CTRL_MAX_ASYNC_MSGS = 2; -    constexpr uint16_t MTU            = 40; // FIXME in words? +    constexpr uint16_t MTU                 = 40; // FIXME in words?      auto mock_reg_iface = std::make_shared<client_zero_test_iface>(DEVICE_ID);      // Prime the pump: We add some blocks and connections  | 
