laforge has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/c/osmo-trx/+/15293 )

Change subject: device: Use LOGCHAN in set_antennas()
......................................................................

device: Use LOGCHAN in set_antennas()

Change-Id: I3099498e3a3f26b53d55a96a36cc056f7b25b27a
---
M Transceiver52M/device/common/radioDevice.h
1 file changed, 4 insertions(+), 4 deletions(-)

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



diff --git a/Transceiver52M/device/common/radioDevice.h 
b/Transceiver52M/device/common/radioDevice.h
index e637611..b4928f2 100644
--- a/Transceiver52M/device/common/radioDevice.h
+++ b/Transceiver52M/device/common/radioDevice.h
@@ -187,9 +187,9 @@
        for (i = 0; i < tx_paths.size(); i++) {
                if (tx_paths[i] == "")
                        continue;
-               LOG(DEBUG) << "Configuring channel " << i << " with antenna " 
<< tx_paths[i];
+               LOGCHAN(i, DDEV, DEBUG) << "Configuring Tx antenna " << 
tx_paths[i];
                if (!setTxAntenna(tx_paths[i], i)) {
-                       LOG(ALERT) << "Failed configuring channel " << i << " 
with antenna " << tx_paths[i];
+                       LOGCHAN(i, DDEV, ALERT) << "Failed configuring Tx 
antenna " << tx_paths[i];
                        return false;
                }
        }
@@ -197,9 +197,9 @@
        for (i = 0; i < rx_paths.size(); i++) {
                if (rx_paths[i] == "")
                        continue;
-               LOG(DEBUG) << "Configuring channel " << i << " with antenna " 
<< rx_paths[i];
+               LOGCHAN(i, DDEV, DEBUG) << "Configuring Rx antenna " << 
rx_paths[i];
                if (!setRxAntenna(rx_paths[i], i)) {
-                       LOG(ALERT) << "Failed configuring channel " << i << " 
with antenna " << rx_paths[i];
+                       LOGCHAN(i, DDEV, ALERT) << "Failed configuring Rx 
antenna " << rx_paths[i];
                        return false;
                }
        }

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

Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I3099498e3a3f26b53d55a96a36cc056f7b25b27a
Gerrit-Change-Number: 15293
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pes...@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <axilira...@gmail.com>
Gerrit-Reviewer: laforge <lafo...@gnumonks.org>
Gerrit-MessageType: merged

Reply via email to