Skip to content

Commit 5146532

Browse files
committed
zephyrSerial: Keeping up with UART API changes
Update for uart_irq_update() changes introduced with zephyrproject-rtos/zephyr#105231. Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
1 parent 4069733 commit 5146532

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

cores/arduino/zephyrSerial.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,7 @@ void arduino::ZephyrSerial::IrqHandler() {
6868
int length;
6969
int ret = 0;
7070

71-
if (!uart_irq_update(uart)) {
72-
return;
73-
}
71+
(void)uart_irq_update(uart);
7472

7573
if (ring_buf_size_get(&tx.ringbuf) == 0) {
7674
uart_irq_tx_disable(uart);

0 commit comments

Comments
 (0)