diff options
author | Leo C | 2014-10-23 02:15:50 +0200 |
---|---|---|
committer | Leo C | 2014-10-23 02:15:50 +0200 |
commit | 424b184a9bab3b1b8fe93fbc9e8a6e9d566904c8 (patch) | |
tree | 243c9e1801dde49e7ddd33e06c2fc4df28896719 /avr/main.c | |
parent | bad2d92d98f9990ee5ccf509c0eafe5b3af9f4dc (diff) | |
download | z180-stamp-424b184a9bab3b1b8fe93fbc9e8a6e9d566904c8.zip |
my_getchar() parameter: allow return without new character
Diffstat (limited to 'avr/main.c')
-rw-r--r-- | avr/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ } |