<p>Vadim Yanitskiy has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/10418">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">trx/radio_if.py: reset UHD device time at startup<br><br>Some UHD devices, such as UmTRX, require one to manually reset the<br>hardware clock, otherwise the burst transmission doesn't work.<br><br>Change-Id: Idddc1387199bd22342ec5af25c8635e73352e315<br>---<br>M python/trx/radio_if.py<br>1 file changed, 6 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/gr-gsm refs/changes/18/10418/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/python/trx/radio_if.py b/python/trx/radio_if.py</span><br><span>index 355312b..83bfffe 100644</span><br><span>--- a/python/trx/radio_if.py</span><br><span>+++ b/python/trx/radio_if.py</span><br><span>@@ -257,6 +257,12 @@</span><br><span>                  (self.dict_toggle_sign, 'dict_out'),</span><br><span>                         (self.msg_to_tag_sink, 'msg'))</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+          # Some UHD devices, such as UmTRX, require one</span><br><span style="color: hsl(120, 100%, 40%);">+                # to manually reset the hardware clock</span><br><span style="color: hsl(120, 100%, 40%);">+                self.phy_src.set_time_now(uhd.time_spec(0.0))</span><br><span style="color: hsl(120, 100%, 40%);">+         self.phy_sink.set_time_now(uhd.time_spec(0.0))</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span>     def shutdown(self):</span><br><span>          print("[i] Shutdown Radio interface")</span><br><span>              self.stop()</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/10418">change 10418</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/10418"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: gr-gsm </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Idddc1387199bd22342ec5af25c8635e73352e315 </div>
<div style="display:none"> Gerrit-Change-Number: 10418 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Vadim Yanitskiy <axilirator@gmail.com> </div>