<p>pespin has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-trx/+/15293">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">device: Use LOGCHAN in set_antennas()<br><br>Change-Id: I3099498e3a3f26b53d55a96a36cc056f7b25b27a<br>---<br>M Transceiver52M/device/common/radioDevice.h<br>1 file changed, 4 insertions(+), 4 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/93/15293/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/Transceiver52M/device/common/radioDevice.h b/Transceiver52M/device/common/radioDevice.h</span><br><span>index e637611..b4928f2 100644</span><br><span>--- a/Transceiver52M/device/common/radioDevice.h</span><br><span>+++ b/Transceiver52M/device/common/radioDevice.h</span><br><span>@@ -187,9 +187,9 @@</span><br><span>       for (i = 0; i < tx_paths.size(); i++) {</span><br><span>           if (tx_paths[i] == "")</span><br><span>                     continue;</span><br><span style="color: hsl(0, 100%, 40%);">-               LOG(DEBUG) << "Configuring channel " << i << " with antenna " << tx_paths[i];</span><br><span style="color: hsl(120, 100%, 40%);">+             LOGCHAN(i, DDEV, DEBUG) << "Configuring Tx antenna " << tx_paths[i];</span><br><span>           if (!setTxAntenna(tx_paths[i], i)) {</span><br><span style="color: hsl(0, 100%, 40%);">-                    LOG(ALERT) << "Failed configuring channel " << i << " with antenna " << tx_paths[i];</span><br><span style="color: hsl(120, 100%, 40%);">+                      LOGCHAN(i, DDEV, ALERT) << "Failed configuring Tx antenna " << tx_paths[i];</span><br><span>                    return false;</span><br><span>                }</span><br><span>    }</span><br><span>@@ -197,9 +197,9 @@</span><br><span>      for (i = 0; i < rx_paths.size(); i++) {</span><br><span>           if (rx_paths[i] == "")</span><br><span>                     continue;</span><br><span style="color: hsl(0, 100%, 40%);">-               LOG(DEBUG) << "Configuring channel " << i << " with antenna " << rx_paths[i];</span><br><span style="color: hsl(120, 100%, 40%);">+             LOGCHAN(i, DDEV, DEBUG) << "Configuring Rx antenna " << rx_paths[i];</span><br><span>           if (!setRxAntenna(rx_paths[i], i)) {</span><br><span style="color: hsl(0, 100%, 40%);">-                    LOG(ALERT) << "Failed configuring channel " << i << " with antenna " << rx_paths[i];</span><br><span style="color: hsl(120, 100%, 40%);">+                      LOGCHAN(i, DDEV, ALERT) << "Failed configuring Rx antenna " << rx_paths[i];</span><br><span>                    return false;</span><br><span>                }</span><br><span>    }</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-trx/+/15293">change 15293</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-trx/+/15293"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-trx </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I3099498e3a3f26b53d55a96a36cc056f7b25b27a </div>
<div style="display:none"> Gerrit-Change-Number: 15293 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>