          <span class="comment">// Obtain ID of current running thread</span></div>
<div class="line">   </div>
<div class="line">  <span class="keywordflow">if</span> (<span class="keywordtype">id</span> != NULL)  {</div>
<div class="line">    priority = <a class="code" href="group__CMSIS__RTOS__ThreadMgmt.html#ga4299d838978bc2aae5e4350754e6a4e9">osThreadGetPriority</a> (<span class="keywordtype">id</span>);</div>
<div class="line">  }</div>
<div class="line">  <span class="keywordflow">else</span>  {</div