summaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorScott Shawcroft <scott@adafruit.com>2020-05-11 15:40:27 -0700
committerGitHub <noreply@github.com>2020-05-11 15:40:27 -0700
commit55f78bfb70b20dacce635352b097fc235539168b (patch)
tree0ad684943b8f4c57723812875be27cac4cb5f178 /ports
parent801d9655e5f69fd3ab8926a04396c7d5e28477e2 (diff)
parentd8491f31768b04322728bc436b2f8e6c5f2bf0d6 (diff)
Merge pull request #2878 from WarriorOfWire/ujson-stream-protocol
ujson: work with mp stream protocol for fast & easy read
Diffstat (limited to 'ports')
-rw-r--r--ports/atmel-samd/common-hal/busio/UART.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ports/atmel-samd/common-hal/busio/UART.c b/ports/atmel-samd/common-hal/busio/UART.c
index 1f6b75f97..d6c13eb7e 100644
--- a/ports/atmel-samd/common-hal/busio/UART.c
+++ b/ports/atmel-samd/common-hal/busio/UART.c
@@ -45,6 +45,9 @@
#include "samd/sercom.h"
+#define UART_DEBUG(...) (void)0
+// #define UART_DEBUG(...) mp_printf(&mp_plat_print __VA_OPT__(,) __VA_ARGS__)
+
// Do-nothing callback needed so that usart_async code will enable rx interrupts.
// See comment below re usart_async_register_callback()
static void usart_async_rxc_callback(const struct usart_async_descriptor *const descr) {