Skip to content
Commit acde5fe1 authored by Eric Holmberg's avatar Eric Holmberg Committed by Fabio Baltieri
Browse files

driver: gpio: fix shell blink command



The blink command should blink until the user presses a key, however on
some systems a pending keypress is present when entering the loop
causing it to immediate exit before getting a chance to blink.

Add a dummy read to clear the buffer before starting the blink loop.

Signed-off-by: default avatarEric Holmberg <eric.holmberg@northriversystems.co.nz>
parent 03c04fd8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment