<p>Kévin Redon has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/9887">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">fix LED switching on/off<br><br>In the SIMtrace and QMOD schematics the LEDs are connected to +3.3V.<br>Thus to switch the LED on we need to set the pin low.<br><br>Change-Id: Id8cc27e6f0b6556ba5e7ea4d254dd0fe59042a0c<br>---<br>M firmware/libboard/common/source/led.c<br>1 file changed, 2 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/simtrace2 refs/changes/87/9887/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/firmware/libboard/common/source/led.c b/firmware/libboard/common/source/led.c</span><br><span>index 540f031..00082e2 100644</span><br><span>--- a/firmware/libboard/common/source/led.c</span><br><span>+++ b/firmware/libboard/common/source/led.c</span><br><span>@@ -16,9 +16,9 @@</span><br><span>        ASSERT(led < PIO_LISTSIZE(pinsLeds));</span><br><span> </span><br><span>         if (on)</span><br><span style="color: hsl(0, 100%, 40%);">-         PIO_Set(&pinsLeds[led]);</span><br><span style="color: hsl(0, 100%, 40%);">-    else</span><br><span>                 PIO_Clear(&pinsLeds[led]);</span><br><span style="color: hsl(120, 100%, 40%);">+        else</span><br><span style="color: hsl(120, 100%, 40%);">+          PIO_Set(&pinsLeds[led]);</span><br><span> }</span><br><span> </span><br><span> /* LED blinking code */</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/9887">change 9887</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/9887"/><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-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Id8cc27e6f0b6556ba5e7ea4d254dd0fe59042a0c </div>
<div style="display:none"> Gerrit-Change-Number: 9887 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Kévin Redon <kredon@sysmocom.de> </div>