From d9656de88f7af77b39bfe9985f0ac7c623932d71 Mon Sep 17 00:00:00 2001 From: Nicholas Corgan Date: Tue, 30 Jun 2015 13:36:15 -0700 Subject: OctoClock bugfixes * Bumped compatibility version to 3 * firmware: Ethernet, clkdist bugfixes * lib: fixed invalid rev detection --- firmware/octoclock/lib/usart.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'firmware/octoclock/lib/usart.c') diff --git a/firmware/octoclock/lib/usart.c b/firmware/octoclock/lib/usart.c index 3620ac5e9..a267e43c6 100644 --- a/firmware/octoclock/lib/usart.c +++ b/firmware/octoclock/lib/usart.c @@ -34,16 +34,8 @@ char usart_getc(void){ return UDR1; } -char usart_getc_noblock(void){ - return ((UCSR1A & (1 << RXC))) ? UDR1 : -1; -} - void usart_putc(char ch){ while((UCSR1A & (1 << UDRE1)) == 0); UDR1 = ch; } - -void usart_putc_nowait(char ch){ - if((UCSR1A & (1 << UDRE1)) != 0) UDR1 = ch; -} -- cgit v1.2.3