1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 06:23:53 +01:00

boards: chronos: add dummy getchar implementation

This commit is contained in:
Kaspar Schleiser 2015-07-30 13:17:08 +02:00
parent 25f900e489
commit d16ae35d9e

View File

@ -1,5 +1,6 @@
/*
* Copyright (C) 2014 INRIA
* 2015 Kaspar Schleiser <kaspar@schleiser.de>
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
@ -13,13 +14,15 @@
/**
* @file
* @brief eZ430-chronos putchar dummy implementation
* @brief eZ430-chronos getchar/putchar dummy implementation
*
* @author Oliver Hahm <oliver.hahm@inria.fr>
* @author Kaspar Schleiser <kaspar@schleiser.de>
*
*/
#include <stdio.h>
static void _dummy(int c)
{
}
@ -31,3 +34,9 @@ int putchar(int c)
_putchar(c);
return c;
}
int getchar(void)
{
/* dummy implementation */
return EOF;
}