diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2020-06-09 18:28:02 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2020-06-24 12:47:58 -0700 |
| commit | a26102607e3fe5b6f888fcd246e20ac82a70af7b (patch) | |
| tree | 44d21baadc293eeff0a3cc386b96235de4cc090d /shared-module | |
| parent | 6f050d7af368afb3eb45ac34533727794fa66c58 (diff) | |
Add UART support
Diffstat (limited to 'shared-module')
| -rw-r--r-- | shared-module/board/__init__.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-module/board/__init__.c b/shared-module/board/__init__.c index 0fbf916cd..2c9139d8a 100644 --- a/shared-module/board/__init__.c +++ b/shared-module/board/__init__.c @@ -123,7 +123,7 @@ mp_obj_t common_hal_board_create_uart(void) { #endif common_hal_busio_uart_construct(self, tx, rx, rts, cts, rs485_dir, rs485_invert, - 9600, 8, PARITY_NONE, 1, 1.0f, 64, NULL, false); + 9600, 8, BUSIO_UART_PARITY_NONE, 1, 1.0f, 64, NULL, false); MP_STATE_VM(shared_uart_bus) = MP_OBJ_FROM_PTR(self); return MP_STATE_VM(shared_uart_bus); } |
