summaryrefslogtreecommitdiff
path: root/src/usart_helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/usart_helpers.h')
-rw-r--r--src/usart_helpers.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/usart_helpers.h b/src/usart_helpers.h
index 445a477..18de3b4 100644
--- a/src/usart_helpers.h
+++ b/src/usart_helpers.h
@@ -32,16 +32,17 @@ BEGIN_DECLS
#ifdef USART_DEBUG
void usart_init(uint32_t usart, uint32_t baudrate);
void usart_printf(const char *str, ...);
-void usart_fifo_send(void);
-void usart_interrupt(void);
+void usart_fifo_push(uint8_t c);
-void debug_usart_init() {
+void debug_usart_init(void);
#define LOG_PRINTF(format, ...) usart_printf(format, ##__VA_ARGS__);
#else
#define LOG_PRINTF(dummy, ...) ((void)dummy)
#endif
+#define UNUSED(var) ((void)var)
+
END_DECLS
#endif