git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1406 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
gdisirio 2009-12-09 20:29:28 +00:00
parent abfc472a5c
commit ae568007d9
1 changed files with 2 additions and 6 deletions

View File

@ -33,10 +33,6 @@
*/
BaseChannel CD1;
/*
* Interface implementation, the following functions just invoke the equivalent
* queue-level function or macro.
*/
static bool_t putwouldblock(void *ip) {
(void)ip;
@ -46,7 +42,7 @@ static bool_t putwouldblock(void *ip) {
static bool_t getwouldblock(void *ip) {
(void)ip;
return FALSE; /******************************/
return TRUE;
}
static msg_t put(void *ip, uint8_t b, systime_t timeout) {
@ -62,7 +58,7 @@ static msg_t get(void *ip, systime_t timeout) {
(void)ip;
(void)timeout;
return 0;
return fgetc(stdin);
}
static const struct BaseChannelVMT vmt = {