diff options
Diffstat (limited to 'common/uart_buffering.c')
-rw-r--r-- | common/uart_buffering.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/uart_buffering.c b/common/uart_buffering.c index f3d150dfda..1aa6e9ef35 100644 --- a/common/uart_buffering.c +++ b/common/uart_buffering.c @@ -5,6 +5,8 @@ /* Common code to do UART buffering and printing */ +#include <stdarg.h> + #include "common.h" #include "console.h" #include "hooks.h" @@ -17,8 +19,6 @@ #include "uart.h" #include "util.h" -#include <stdarg.h> - /* Macros to advance in the circular buffers */ #define TX_BUF_NEXT(i) (((i) + 1) & (CONFIG_UART_TX_BUF_SIZE - 1)) #define RX_BUF_NEXT(i) (((i) + 1) & (CONFIG_UART_RX_BUF_SIZE - 1)) |