diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-02-05 13:04:41 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-02-05 13:04:41 +0100 |
commit | f58cd8ac837d13237cf88e93e45550b90d085b15 (patch) | |
tree | 419b556aaa68a8b30e18d9944e6d8dba4e93501f /Transceiver52M/UHDDevice.cpp | |
parent | 99eb07e232a2735f0aaae9ec0083467fad0e2d6c (diff) |
Fix whitespace
Change-Id: Icda84caa998614ce6c15d5118f8c5c1568ba9a79
Diffstat (limited to 'Transceiver52M/UHDDevice.cpp')
-rw-r--r-- | Transceiver52M/UHDDevice.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Transceiver52M/UHDDevice.cpp b/Transceiver52M/UHDDevice.cpp index 09317a9..1120299 100644 --- a/Transceiver52M/UHDDevice.cpp +++ b/Transceiver52M/UHDDevice.cpp @@ -1,5 +1,5 @@ /* - * Device support for Ettus Research UHD driver + * Device support for Ettus Research UHD driver * * Copyright 2010,2011 Free Software Foundation, Inc. * Copyright (C) 2015 Ettus Research LLC @@ -143,8 +143,8 @@ class smpl_buf { public: /** Sample buffer constructor @param len number of 32-bit samples the buffer should hold - @param rate sample clockrate - @param timestamp + @param rate sample clockrate + @param timestamp */ smpl_buf(size_t len, double rate); ~smpl_buf(); @@ -172,7 +172,7 @@ public: */ std::string str_status(size_t ts) const; - /** Formatted error string + /** Formatted error string @param code an error code @return a formatted error string */ @@ -705,7 +705,7 @@ int uhd_device::open(const std::string &args, int ref, bool swap_channels) for (size_t i = 0; i < rx_buffers.size(); i++) rx_buffers[i] = new smpl_buf(buf_len, rx_rate); - // Initialize and shadow gain values + // Initialize and shadow gain values init_gains(); // Print configuration @@ -926,7 +926,7 @@ int uhd_device::readSamples(std::vector<short *> &bufs, int len, bool *overrun, rx_pkt_cnt++; - // Check for errors + // Check for errors rc = check_rx_md_err(metadata, num_smpls); switch (rc) { case ERROR_UNRECOVERABLE: |