diff options
| author | hathach <thach@tinyusb.org> | 2018-09-26 02:12:06 +0700 |
|---|---|---|
| committer | hathach <thach@tinyusb.org> | 2018-09-26 02:12:06 +0700 |
| commit | 76d6fb03f0ffabe3886ed5a493faa02041f91179 (patch) | |
| tree | 1f9b70ada53832457a557837ec4273d1186736ee | |
| parent | eba80f7a9939f6ac48fcadeb1c46082b0e8d7575 (diff) | |
more clean up
| -rw-r--r-- | ports/nrf/common-hal/busio/UART.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ports/nrf/common-hal/busio/UART.c b/ports/nrf/common-hal/busio/UART.c index 40be66b65..d3bd2a854 100644 --- a/ports/nrf/common-hal/busio/UART.c +++ b/ports/nrf/common-hal/busio/UART.c @@ -241,12 +241,8 @@ uint32_t common_hal_busio_uart_get_baudrate(busio_uart_obj_t *self) { } void common_hal_busio_uart_set_baudrate(busio_uart_obj_t *self, uint32_t baudrate) { -#ifndef NRF52840_XXAA - mp_raise_NotImplementedError(translate("busio.UART not yet implemented")); -#else self->baudrate = baudrate; nrf_uarte_baudrate_set(self->uarte.p_reg, get_nrf_baud(baudrate)); -#endif } uint32_t common_hal_busio_uart_rx_characters_available(busio_uart_obj_t *self) { |
