We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8447de commit d9f6e99Copy full SHA for d9f6e99
ports/raspberrypi/common-hal/busio/UART.c
@@ -311,7 +311,7 @@ uint32_t common_hal_busio_uart_rx_characters_available(busio_uart_obj_t *self) {
311
// The UART only interrupts after a threshold so make sure to copy anything
312
// out of its FIFO before measuring how many bytes we've received.
313
_copy_into_ringbuf(&self->ringbuf, self->uart);
314
- irq_set_enabled(self->uart_irq_id, false);
+ irq_set_enabled(self->uart_irq_id, true);
315
return ringbuf_num_filled(&self->ringbuf);
316
}
317
0 commit comments