diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-09-10 10:36:04 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-09-13 14:27:48 +0000 |
commit | 4d179abfd01268c2db42ec4f1d6ebb83539d7e25 (patch) | |
tree | 8cf435a1ad89fe3b7de5310300314c89157c957f /Transceiver52M/device/usrp1 | |
parent | 6fdfb68b9e43e31c6330e99def5857df0629efad (diff) |
cosmetic: Use proper whitespace in several for loops
Change-Id: I82bdeb8a3fa38f3d125e8cbccc3eddbf2b8d8f58
Diffstat (limited to 'Transceiver52M/device/usrp1')
-rw-r--r-- | Transceiver52M/device/usrp1/USRPDevice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Transceiver52M/device/usrp1/USRPDevice.cpp b/Transceiver52M/device/usrp1/USRPDevice.cpp index 758ee55..5d19514 100644 --- a/Transceiver52M/device/usrp1/USRPDevice.cpp +++ b/Transceiver52M/device/usrp1/USRPDevice.cpp @@ -398,7 +398,7 @@ int USRPDevice::readSamples(std::vector<short *> &bufs, int len, bool *overrun, // read USRP packets, parse and save A/D data as needed readLen = m_uRx->read((void *)readBuf,readLen,overrun); - for(int pktNum = 0; pktNum < (readLen/512); pktNum++) { + for (int pktNum = 0; pktNum < (readLen/512); pktNum++) { // tmpBuf points to start of a USB packet uint32_t* tmpBuf = (uint32_t *) (readBuf+pktNum*512/4); TIMESTAMP pktTimestamp = usrp_to_host_u32(tmpBuf[1]); |