fix uart compile error

This commit is contained in:
optixx 2009-09-17 20:42:21 +02:00
parent 8650109879
commit a28a7e928a
2 changed files with 5 additions and 1 deletions

View File

@ -25,6 +25,8 @@
#include "uart.h"
#include "fifo.h"
volatile struct {
uint8_t tmr_int:1;
uint8_t adc_int:1;
@ -35,6 +37,9 @@ volatile struct {
volatile char rxbuff;
static int uart_stream(char c, FILE *stream);
FILE uart_stdout = FDEV_SETUP_STREAM(uart_stream, NULL, _FDEV_SETUP_WRITE);
void uart_init(void)

View File

@ -32,7 +32,6 @@ void uart_init(void);
void uart_putc(const uint8_t);
void uart_puts(const char *s);
void uart_puts_P(PGM_P s);
static int uart_stream(char c, FILE *stream);
#endif