Skip to content

Commit

Permalink
Merge pull request #4071 from tannewt/rp2040_uart_error
Browse files Browse the repository at this point in the history
Raise an error on UART use
  • Loading branch information
dhalbert authored Jan 26, 2021
2 parents a9227e1 + b42e94e commit 29e672f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ports/raspberrypi/common-hal/busio/UART.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ void common_hal_busio_uart_construct(busio_uart_obj_t *self,
uint32_t baudrate, uint8_t bits, busio_uart_parity_t parity, uint8_t stop,
mp_float_t timeout, uint16_t receiver_buffer_size, byte* receiver_buffer,
bool sigint_enabled) {
mp_raise_NotImplementedError(translate("UART not yet supported"));

// Sercom* sercom = NULL;
// uint8_t sercom_index = 255; // Unset index
Expand Down

0 comments on commit 29e672f

Please sign in to comment.