We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c9cd56 commit beb053aCopy full SHA for beb053a
ports/atmel-samd/common-hal/busio/UART.c
@@ -24,6 +24,7 @@
24
* THE SOFTWARE.
25
*/
26
27
+#if CIRCUITPY_BUSIO_UART
28
#include "shared-bindings/microcontroller/__init__.h"
29
#include "shared-bindings/microcontroller/Pin.h"
30
#include "shared-bindings/busio/UART.h"
@@ -485,3 +486,4 @@ bool common_hal_busio_uart_ready_to_tx(busio_uart_obj_t *self) {
485
486
usart_async_get_status(usart_desc_p, &async_status);
487
return !(async_status.flags & USART_ASYNC_STATUS_BUSY);
488
}
489
+#endif
0 commit comments