From d7eac59db056c6f5b07a98aecf5bf9264cf1b77e Mon Sep 17 00:00:00 2001 From: Incursio Hack - Ruan Rocha <114836217+IncursioHack@users.noreply.github.com> Date: Wed, 24 Apr 2024 19:59:33 -0300 Subject: [PATCH] Bugfix RFID2 -Enter key on keyboard [Double Click] I noticed that when pressing the ENTER key on the keyboard, RFID2 was performing a "double click", making it difficult to reach the writing screen on a new card or RFID tag. A delay was added to the button to avoid the aforementioned bug --- bruce.ino | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bruce.ino b/bruce.ino index 283342d..af7a5d1 100644 --- a/bruce.ino +++ b/bruce.ino @@ -2924,11 +2924,13 @@ void rfid_loop() case read_mode: currentState = write_mode; displayWriteMode(); + delay(300); break; case write_mode: currentState = read_mode; displayReadMode(); readUID = false; + delay(300); break; } }