fix uart compile error
This commit is contained in:
parent
8650109879
commit
a28a7e928a
@ -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)
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user