Skip to content

Commit 76d6fb0

Browse files
committed
more clean up
1 parent eba80f7 commit 76d6fb0

File tree

1 file changed

+0
-4
lines changed
  • ports/nrf/common-hal/busio

1 file changed

+0
-4
lines changed

ports/nrf/common-hal/busio/UART.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,12 +241,8 @@ uint32_t common_hal_busio_uart_get_baudrate(busio_uart_obj_t *self) {
241241
}
242242

243243
void common_hal_busio_uart_set_baudrate(busio_uart_obj_t *self, uint32_t baudrate) {
244-
#ifndef NRF52840_XXAA
245-
mp_raise_NotImplementedError(translate("busio.UART not yet implemented"));
246-
#else
247244
self->baudrate = baudrate;
248245
nrf_uarte_baudrate_set(self->uarte.p_reg, get_nrf_baud(baudrate));
249-
#endif
250246
}
251247

252248
uint32_t common_hal_busio_uart_rx_characters_available(busio_uart_obj_t *self) {

0 commit comments

Comments
 (0)