summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2019-04-09 22:52:53 -0400
committerDan Halbert <halbert@halwitz.org>2019-04-09 22:52:53 -0400
commitc0c809ad4b26490c586abf5e995699cc335e09b3 (patch)
treeb7a87b83edde4713b0d01b0ee8a736f6f6a23b86
parentac2fd2fa80e34554c799e363541a93a0976e4f4f (diff)
Fix version skew for bast_pro_mini build
-rw-r--r--ports/atmel-samd/boards/bast_pro_mini_m0/pins.c2
-rw-r--r--shared-bindings/busio/UART.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/ports/atmel-samd/boards/bast_pro_mini_m0/pins.c b/ports/atmel-samd/boards/bast_pro_mini_m0/pins.c
index 9681fff50..3ed940e36 100644
--- a/ports/atmel-samd/boards/bast_pro_mini_m0/pins.c
+++ b/ports/atmel-samd/boards/bast_pro_mini_m0/pins.c
@@ -1,7 +1,5 @@
#include "shared-bindings/board/__init__.h"
-#include "supervisor/shared/board_busses.h"
-
STATIC const mp_rom_map_elem_t board_global_dict_table[] = {
{ MP_ROM_QSTR(MP_QSTR_A0), MP_ROM_PTR(&pin_PA02) },
{ MP_ROM_QSTR(MP_QSTR_A1), MP_ROM_PTR(&pin_PA04) },
diff --git a/shared-bindings/busio/UART.c b/shared-bindings/busio/UART.c
index b40f3fa03..94ad1bd3e 100644
--- a/shared-bindings/busio/UART.c
+++ b/shared-bindings/busio/UART.c
@@ -57,7 +57,7 @@
//| :param int bits: the number of bits per byte, 7, 8 or 9.
//| :param Parity parity: the parity used for error checking.
//| :param int stop: the number of stop bits, 1 or 2.
-//| :param int timeout: the timeout in seconds to wait for the first character and between subsequent characters. Raises ``ValueError`` if timeout >100 seconds.
+//| :param float timeout: the timeout in seconds to wait for the first character and between subsequent characters. Raises ``ValueError`` if timeout >100 seconds.
//| :param int receiver_buffer_size: the character length of the read buffer (0 to disable). (When a character is 9 bits the buffer will be 2 * receiver_buffer_size bytes.)
//|
//| *New in CircuitPython 4.0:* ``timeout`` has incompatibly changed units from milliseconds to seconds.