X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/21a24f90c5aaaaf13f91716208b32cde163c5918..fecee2418b6aea15008ed6d3a856d202d59a5cdb:/include/con-utils.h diff --git a/include/con-utils.h b/include/con-utils.h index f03dfb3..86c0df0 100644 --- a/include/con-utils.h +++ b/include/con-utils.h @@ -1,9 +1,19 @@ -#ifndef CON_UTILS_H +/* + * (C) Copyright 2014 Leo C. + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +/* + * Console utilities + */ + +#ifndef CON_UTILS_H #define CON_UTILS_H uint_fast8_t tstc(void); -int my_getchar(void); +int my_getchar(uint_fast8_t waitforchar); /* test if ctrl-c was pressed */ uint_fast8_t ctrlc(void); @@ -18,5 +28,3 @@ uint_fast8_t had_ctrlc (void); void clear_ctrlc(void); #endif /* CON_UTILS_H */ - -