aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/octoclock/lib/usart.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/octoclock/lib/usart.c')
-rw-r--r--firmware/octoclock/lib/usart.c8
1 files changed, 0 insertions, 8 deletions
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;
-}