Generate more rows in the interrupts! table.

Adjust DMA/BDMA to use the new style.
This commit is contained in:
Bob McWhirter
2021-07-27 12:52:01 -04:00
parent 9fec792a6a
commit b910551c9a
3 changed files with 14 additions and 24 deletions

View File

@ -242,7 +242,7 @@ pac::dma_channels! {
}
pac::interrupts! {
(BDMA, $irq:ident) => {
($peri:ident, bdma, $block:ident, $signal_name:ident, $irq:ident) => {
#[crate::interrupt]
unsafe fn $irq () {
on_irq()

View File

@ -248,7 +248,7 @@ pac::dma_channels! {
}
pac::interrupts! {
(DMA, $irq:ident) => {
($peri:ident, dma, $block:ident, $signal_name:ident, $irq:ident) => {
#[crate::interrupt]
unsafe fn $irq () {
on_irq()