aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple')
-rw-r--r--libmaple/usart.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmaple/usart.h b/libmaple/usart.h
index 9ba94bd..1cfba96 100644
--- a/libmaple/usart.h
+++ b/libmaple/usart.h
@@ -228,7 +228,9 @@ typedef struct usart_reg_map {
* Devices
*/
+#ifndef USART_RX_BUF_SIZE
#define USART_RX_BUF_SIZE 64
+#endif
/** USART device type */
typedef struct usart_dev {