Skip to content

Commit 311c77e

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents 636e22b + 078ebeb commit 311c77e

File tree

1 file changed

+1
-1
lines changed
  • ports/raspberrypi/common-hal/busio

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ uint32_t common_hal_busio_uart_rx_characters_available(busio_uart_obj_t *self) {
311311
// The UART only interrupts after a threshold so make sure to copy anything
312312
// out of its FIFO before measuring how many bytes we've received.
313313
_copy_into_ringbuf(&self->ringbuf, self->uart);
314-
irq_set_enabled(self->uart_irq_id, false);
314+
irq_set_enabled(self->uart_irq_id, true);
315315
return ringbuf_num_filled(&self->ringbuf);
316316
}
317317

0 commit comments

Comments
 (0)