This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Pau Espin Pedrol gerrit-no-reply at lists.osmocom.orgPau Espin Pedrol has submitted this change and it was merged. ( https://gerrit.osmocom.org/10719 ) Change subject: cosmetic: Fix trailing whitespace in several files ...................................................................... cosmetic: Fix trailing whitespace in several files Change-Id: Ibf5a69f0a3a309e87814635fd903b114fe68890c --- M CommonLibs/Vector.h M Transceiver52M/sigProcLib.cpp 2 files changed, 10 insertions(+), 10 deletions(-) Approvals: Jenkins Builder: Verified Harald Welte: Looks good to me, approved diff --git a/CommonLibs/Vector.h b/CommonLibs/Vector.h index 0ba1b9e..51a9fb1 100644 --- a/CommonLibs/Vector.h +++ b/CommonLibs/Vector.h @@ -282,7 +282,7 @@ T* end() { return mEnd; } bool isOwner() { return !!mData; } // Do we own any memory ourselves? //@} - + }; diff --git a/Transceiver52M/sigProcLib.cpp b/Transceiver52M/sigProcLib.cpp index 2040b36..692fbe0 100644 --- a/Transceiver52M/sigProcLib.cpp +++ b/Transceiver52M/sigProcLib.cpp @@ -1102,17 +1102,17 @@ if (start < 0) start = 0; int end = (int) (floor(ix) + 11); if ((unsigned) end > inSig.size()-1) end = inSig.size()-1; - + complex pVal = 0.0; if (!inSig.isReal()) { - for (int i = start; i < end; i++) + for (int i = start; i < end; i++) pVal += inSig[i] * sinc(M_PI_F*(i-ix)); } else { - for (int i = start; i < end; i++) + for (int i = start; i < end; i++) pVal += inSig[i].real() * sinc(M_PI_F*(i-ix)); } - + return pVal; } @@ -1157,12 +1157,12 @@ // to save computation, we'll use early-late balancing float earlyIndex = maxIndex-1; float lateIndex = maxIndex+1; - + float incr = 0.5; while (incr > 1.0/1024.0) { complex earlyP = interpolatePoint(rxBurst,earlyIndex); complex lateP = interpolatePoint(rxBurst,lateIndex); - if (earlyP < lateP) + if (earlyP < lateP) earlyIndex += incr; else if (earlyP > lateP) earlyIndex -= incr; @@ -1250,7 +1250,7 @@ // NOTE: Because ideal TSC 16-bit midamble is 66 symbols into burst, // the ideal TSC has an + 180 degree phase shift, - // due to the pi/2 frequency shift, that + // due to the pi/2 frequency shift, that // needs to be accounted for. // 26-midamble is 61 symbols into burst, has +90 degree phase shift. scaleVector(*midMidamble, complex(-1.0, 0.0)); @@ -1589,7 +1589,7 @@ } -/* +/* * RACH burst detection * * Correlation window parameters: @@ -1614,7 +1614,7 @@ return rc; } -/* +/* * Normal burst detection * * Correlation window parameters: -- To view, visit https://gerrit.osmocom.org/10719 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-trx Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: Ibf5a69f0a3a309e87814635fd903b114fe68890c Gerrit-Change-Number: 10719 Gerrit-PatchSet: 3 Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de> Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org> Gerrit-Reviewer: Jenkins Builder (1000002) Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180910/7f7cdec1/attachment.htm>