- fifo ommit memcpy

- volatilize

git-svn-id: http://moon:8086/svn/projects/HendiControl@35 fda53097-d464-4ada-af97-ba876c37ca34
This commit is contained in:
2019-03-02 13:31:52 +00:00
parent f5391f55e9
commit a94413670a
5 changed files with 32 additions and 26 deletions
+2
View File
@@ -38,10 +38,12 @@ void uart_init(Fifo *pFifo, uint16_t BAUD_PRESCALE)
void uart_putc(char c)
{
cli();
while((UCSR0A & (1<<UDRE0)) == 0)
{
}
UDR0 = c;
sei();
}
int uart_putchar(char c, FILE *stream)