Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

samples: hci_uart: fix UART IRQ API usage #82797

Conversation

jfischer-no
Copy link
Collaborator

uart_irq_update() should always be called in IRQ processing callback. From API documentation:
"This function should be called the first thing in the ISR. Calling uart_irq_rx_ready(), uart_irq_tx_ready(), uart_irq_tx_complete() allowed only after this."

chery-picked from #80985

uart_irq_update() should always be called in IRQ processing callback.
From API documentation:
"This function should be called the first thing in the ISR. Calling
uart_irq_rx_ready(), uart_irq_tx_ready(), uart_irq_tx_complete()
allowed only after this."

Signed-off-by: Johann Fischer <[email protected]>
@Thalley Thalley removed their request for review December 10, 2024 17:20
@kartben kartben merged commit 9911bd0 into zephyrproject-rtos:main Dec 12, 2024
27 checks passed
@jfischer-no jfischer-no deleted the pr-sample-hci_uart-fix-irq-api-usage branch December 12, 2024 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants