X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/05437fb4cdb907816a4fc3ffafa2617fcf33266a..c0abd68b350ffd9852923a66f3ee6c315c94813a:/avr/con-utils.c diff --git a/avr/con-utils.c b/avr/con-utils.c index b8017ed..f20dbfe 100644 --- a/avr/con-utils.c +++ b/avr/con-utils.c @@ -1,3 +1,8 @@ +/* + * (C) Copyright 2014 Leo C. + * + * SPDX-License-Identifier: GPL-2.0+ + */ #include #include "common.h" @@ -15,7 +20,7 @@ uint_fast8_t tstc(void) int my_getchar(uint_fast8_t waitforchar) { int c; - + do { bg_shed(); c = serial_getc(); @@ -92,4 +97,3 @@ void clear_ctrlc(void) { ctrlc_was_pressed = 0; } -