Change in osmo-trx[master]: [cosmetic] radioIntefaceMulti: Fix whitespace / indent

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/.

laforge gerrit-no-reply at lists.osmocom.org
Fri Sep 11 12:53:22 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-trx/+/20073 )

Change subject: [cosmetic] radioIntefaceMulti: Fix whitespace / indent
......................................................................

[cosmetic] radioIntefaceMulti: Fix whitespace / indent

Change-Id: I3addb844a79a8f4e8af03323fc50e57b8a3590a8
---
M Transceiver52M/radioInterfaceMulti.cpp
1 file changed, 5 insertions(+), 6 deletions(-)

Approvals:
  lynxis lazus: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/Transceiver52M/radioInterfaceMulti.cpp b/Transceiver52M/radioInterfaceMulti.cpp
index e654184..1ca3fbb 100644
--- a/Transceiver52M/radioInterfaceMulti.cpp
+++ b/Transceiver52M/radioInterfaceMulti.cpp
@@ -440,14 +440,13 @@
 
 double RadioInterfaceMulti::setRxGain(double db, size_t chan)
 {
-  if (chan == 0)
-    return mDevice->setRxGain(db);
-  else
-    return mDevice->getRxGain();
+	if (chan == 0)
+		return mDevice->setRxGain(db);
+	else
+		return mDevice->getRxGain();
 }
 
 int RadioInterfaceMulti::setPowerAttenuation(int atten, size_t chan)
 {
-		return RadioInterface::setPowerAttenuation(atten, 0);
-
+	return RadioInterface::setPowerAttenuation(atten, 0);
 }

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/20073
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I3addb844a79a8f4e8af03323fc50e57b8a3590a8
Gerrit-Change-Number: 20073
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: lynxis lazus <lynxis at fe80.eu>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200911/8c83064e/attachment.htm>


More information about the gerrit-log mailing list