arduino-mega2560: fix pedantic compiler warnings
This commit is contained in:
parent
de9965adef
commit
8243a153be
@ -82,12 +82,14 @@ void SystemInit(void)
|
||||
|
||||
static int uart_putchar(char c, FILE *stream)
|
||||
{
|
||||
(void) stream;
|
||||
uart_stdio_write(&c, 1);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int uart_getchar(FILE *stream)
|
||||
{
|
||||
(void) stream;
|
||||
char c;
|
||||
uart_stdio_read(&c, 1);
|
||||
return (int)c;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user