aboutsummaryrefslogtreecommitdiff
path: root/include/usart.h
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2016-03-20 19:07:05 +0100
committerKarel Kočí <cynerd@email.cz>2016-03-20 19:07:05 +0100
commite88e18295becfb18efc278d1fab7fbe0021cb2dd (patch)
tree996f0db88529566b0c971827a3a76a0fcbbc9a81 /include/usart.h
parentdba729ab1755345257724246a9df87aa7f32f25d (diff)
downloadavr-ioe-e88e18295becfb18efc278d1fab7fbe0021cb2dd.tar.gz
avr-ioe-e88e18295becfb18efc278d1fab7fbe0021cb2dd.tar.bz2
avr-ioe-e88e18295becfb18efc278d1fab7fbe0021cb2dd.zip
Fix USART configuration
Diffstat (limited to 'include/usart.h')
-rw-r--r--include/usart.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/usart.h b/include/usart.h
index a3f585a..76e423d 100644
--- a/include/usart.h
+++ b/include/usart.h
@@ -32,10 +32,10 @@ extern volatile int8_t _usart_busy;
*/
void usart_init_async(void);
void usart_send(uint8_t data);
-#ifdef _USART_OUTBUFFER
+#ifdef CONFIG_USART_OUTPUT_BUFFER
void usart_send_str(char *str);
#endif
-#ifdef _USART_INBUFFER
+#ifdef CONFIG_USART_INPUT_BUFFER
uint8_t usart_get(void);
#endif
static inline uint8_t usart_queryerror(void) {