Skip to content
Commit 9b2fdace authored by Miguel Gazquez's avatar Miguel Gazquez Committed by Benjamin Cabé
Browse files

drivers: uart: wch_usart: Fix typo in USART_WCH_IRQ_HANDLER



Previously, 'USART_WCH_IRQ_HANDLER' used 'DT_INST_IRQ(index, priority)',
which incorrectly referenced 'index' instead of 'idx'. This issue went
undetected because 'IRQ_CONNECT' drops the priority value on all boards
supported by this driver.

Fix by using 'DT_INST_IRQ(idx, priority)'.

Signed-off-by: default avatarMiguel Gazquez <miguel.gazquez@bootlin.com>
parent 6b61973e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment