diff options
author | Martin Braun <martin.braun@ettus.com> | 2020-03-02 15:30:29 -0800 |
---|---|---|
committer | atrnati <54334261+atrnati@users.noreply.github.com> | 2020-03-03 08:51:32 -0600 |
commit | 476dccd6c383e4c0eccf0f42242137f863cda136 (patch) | |
tree | b2de8a55e3e63374fc05f94dbe82cc9fcb4691aa /mpm/lib/mykonos/ad937x_device.cpp | |
parent | 876d4150aa3da531ddd687b48afada6e43f79146 (diff) | |
download | uhd-476dccd6c383e4c0eccf0f42242137f863cda136.tar.gz uhd-476dccd6c383e4c0eccf0f42242137f863cda136.tar.bz2 uhd-476dccd6c383e4c0eccf0f42242137f863cda136.zip |
mpm: Apply clang-format against all .cpp and .hpp files
Diffstat (limited to 'mpm/lib/mykonos/ad937x_device.cpp')
-rw-r--r-- | mpm/lib/mykonos/ad937x_device.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mpm/lib/mykonos/ad937x_device.cpp b/mpm/lib/mykonos/ad937x_device.cpp index 5d089601e..b476922f2 100644 --- a/mpm/lib/mykonos/ad937x_device.cpp +++ b/mpm/lib/mykonos/ad937x_device.cpp @@ -47,7 +47,7 @@ static const uint32_t PLL_LOCK_TIMEOUT_MS = 200; // Fewer discontinuities at lower signal frequencies // Minimum value is 0.8 ms, enforced by ADI's API static constexpr double RX_DC_OFFSET_AVERAGING_WINDOW_MS = 1.0; -static_assert(RX_DC_OFFSET_AVERAGING_WINDOW_MS >= 0.8, +static_assert(RX_DC_OFFSET_AVERAGING_WINDOW_MS >= 0.8, "RX DC offset averaging window must be greater than 0.8 ms"); /****************************************************** @@ -305,7 +305,8 @@ void ad937x_device::setup_cal(const uint32_t init_cals_mask, uint16_t window = std::ceil((RX_DC_OFFSET_AVERAGING_WINDOW_MS * (mykonos_config.device->rx->rxProfile->iqRate_kHz)) / 1024); - CALL_API(MYKONOS_setRfDcOffsetCnt(mykonos_config.device, MYK_DC_OFFSET_RX_CHN, window)); + CALL_API( + MYKONOS_setRfDcOffsetCnt(mykonos_config.device, MYK_DC_OFFSET_RX_CHN, window)); CALL_API(MYKONOS_enableTrackingCals(mykonos_config.device, tracking_cals_mask)); // ready for radioOn |