diff options
author | Keith Packard <keithp@keithp.com> | 2017-01-10 14:43:07 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2017-02-20 12:34:01 -0800 |
commit | e6fb0f13ba230ad9ce86cfa7f56491a0a3bd4b3d (patch) | |
tree | d5be6905bb5f7f2090e690bc7134724c36e70561 /src/avr | |
parent | 839eadbc8e5694842eb498c6e47cfbf08ba8fbf4 (diff) |
altos/avr: Avoid warning about unused args in stdio_put and stdio_get
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/avr')
-rw-r--r-- | src/avr/ao_avr_stdio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/avr/ao_avr_stdio.c b/src/avr/ao_avr_stdio.c index cca2a971..fde3c421 100644 --- a/src/avr/ao_avr_stdio.c +++ b/src/avr/ao_avr_stdio.c @@ -21,6 +21,7 @@ int stdio_put(char c, FILE *stream) { + (void) stream; putchar(c); return 0; } @@ -28,6 +29,7 @@ stdio_put(char c, FILE *stream) int stdio_get(FILE *stream) { + (void) stream; return (int) getchar() & 0xff; } |