<p>laforge has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/simtrace2/+/17477">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">USBD.c: Don't reset EP0 on SetConfiguration(0)<br><br>If we do this, the resulting USB code will fail on any of the<br>USB-IF Chapter 9 tests.  EP0 should not be reset.<br><br>Change-Id: I070faf4cb7029d3ccfa6c63f8f04aa0f02657536<br>---<br>M firmware/atmel_softpack_libraries/usb/device/core/USBD.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/simtrace2 refs/changes/77/17477/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/firmware/atmel_softpack_libraries/usb/device/core/USBD.c b/firmware/atmel_softpack_libraries/usb/device/core/USBD.c</span><br><span>index bd39a53..747bdd0 100644</span><br><span>--- a/firmware/atmel_softpack_libraries/usb/device/core/USBD.c</span><br><span>+++ b/firmware/atmel_softpack_libraries/usb/device/core/USBD.c</span><br><span>@@ -300,7 +300,7 @@</span><br><span>     else {</span><br><span>         deviceState = USBD_STATE_ADDRESS;</span><br><span>         /* Reset all endpoints */</span><br><span style="color: hsl(0, 100%, 40%);">-        USBD_HAL_ResetEPs(0xFFFFFFFF, USBD_STATUS_RESET, 0);</span><br><span style="color: hsl(120, 100%, 40%);">+        USBD_HAL_ResetEPs(0xFFFFFFFE, USBD_STATUS_RESET, 0);</span><br><span>     }</span><br><span> }</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/simtrace2/+/17477">change 17477</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/simtrace2/+/17477"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: simtrace2 </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I070faf4cb7029d3ccfa6c63f8f04aa0f02657536 </div>
<div style="display:none"> Gerrit-Change-Number: 17477 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>