<p>Hoernchen has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/simtrace2/+/24775">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">cardemu: support 1v8 for the tester<br><br>The tester has shifters, while the original simtrace relies upon the<br>reader restarting the powerup attempt with > 1v8 after not respondig due<br>to a lack of shifters and therefore 1v8 support.<br><br>Change-Id: I520aa26c6e0fb34568a4f632943efa59a0da831c<br>---<br>M firmware/libcommon/source/mode_cardemu.c<br>1 file changed, 4 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/simtrace2 refs/changes/75/24775/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/firmware/libcommon/source/mode_cardemu.c b/firmware/libcommon/source/mode_cardemu.c</span><br><span>index b9971ed..2440ec5 100644</span><br><span>--- a/firmware/libcommon/source/mode_cardemu.c</span><br><span>+++ b/firmware/libcommon/source/mode_cardemu.c</span><br><span>@@ -461,7 +461,11 @@</span><br><span> </span><br><span> static void process_vcc_adc(struct cardem_inst *ci)</span><br><span> {</span><br><span style="color: hsl(120, 100%, 40%);">+#ifdef octsimtest</span><br><span style="color: hsl(120, 100%, 40%);">+    if (ci->vcc_uv >= VCC_UV_THRESH_1V8)</span><br><span style="color: hsl(120, 100%, 40%);">+#else</span><br><span>    if (ci->vcc_uv >= VCC_UV_THRESH_3V)</span><br><span style="color: hsl(120, 100%, 40%);">+#endif</span><br><span>            ci->vcc_active = true;</span><br><span>    else</span><br><span>                 ci->vcc_active = false;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/simtrace2/+/24775">change 24775</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/+/24775"/><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: I520aa26c6e0fb34568a4f632943efa59a0da831c </div>
<div style="display:none"> Gerrit-Change-Number: 24775 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Hoernchen <ewild@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>