diff options
author | root <root@lamia.panaceas.james.local> | 2016-08-23 01:56:47 +0100 |
---|---|---|
committer | root <root@lamia.panaceas.james.local> | 2016-08-23 01:56:47 +0100 |
commit | 7b4848824dcec8c5564bd2b11371f9c5f4a04376 (patch) | |
tree | 7f6e37645e8916da78a2e02ad4c6e83db5866c43 /app/usart.c | |
parent | 4dfc42565c2d1f5b900d8d725126bfde886a8423 (diff) | |
download | candlestick-7b4848824dcec8c5564bd2b11371f9c5f4a04376.tar.gz candlestick-7b4848824dcec8c5564bd2b11371f9c5f4a04376.tar.bz2 candlestick-7b4848824dcec8c5564bd2b11371f9c5f4a04376.zip |
working
Diffstat (limited to 'app/usart.c')
-rw-r--r-- | app/usart.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/usart.c b/app/usart.c index f9ea210..0abb5ec 100644 --- a/app/usart.c +++ b/app/usart.c @@ -64,9 +64,11 @@ usart2_isr (void) data = usart_recv (USART2); ring_write_byte (&rx2_ring, data); +#if 0 usart1_queue (data); if (data == '\r') usart1_queue ('\n'); +#endif } @@ -83,9 +85,11 @@ usart2_isr (void) else { usart_send_blocking (USART2, data); +#if 0 usart1_queue (data); if (data == '\r') usart1_queue ('\n'); +#endif } } |