summaryrefslogtreecommitdiff
path: root/avr/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'avr/main.c')
-rw-r--r--avr/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/avr/main.c b/avr/main.c
index 2955630..2a1ecd3 100644
--- a/avr/main.c
+++ b/avr/main.c
@@ -144,7 +144,7 @@ static int abortboot(int bootdelay)
*/
if (bootdelay >= 0) {
if (tstc()) { /* we got a key press */
- (void) my_getchar(); /* consume input */
+ (void) my_getchar(1); /* consume input */
my_puts_P(PSTR("\b\b\b 0"));
abort = 1; /* don't auto boot */
}