 second before opening the lock. If another</span>
<span class="comment">       * key is pressed during this time, we'll assume that it was a</span>
<span class="comment">       * fluke of luck that the correct code was entered the first</span>
<span class="comment">       * time.</span>
<span class="comment">       */</span>
      timer_set(&amp;codelock_timer, 500);      
      <a class="code" href="a00014.html#g99e43010ec61327164466aa2d902de45">PT_WAIT_UNTIL</a>(pt, key_pressed() || timer_expired(&