| 253 | } |
| 254 | |
| 255 | void commit_interrupt_handler() |
| 256 | { |
| 257 | static_data& data = data_ref(); |
| 258 | hdma::interrupt_handler_type new_high_priority_interrupt_handler = data.new_high_priority_interrupt_handler; |
| 259 | |
| 260 | if(data.current_high_priority_interrupt_handler != new_high_priority_interrupt_handler) |
| 261 | { |
| 262 | data.current_high_priority_interrupt_handler = new_high_priority_interrupt_handler; |
| 263 | bn::hw::irq::set_isr(bn::hw::irq::id::DMA0, new_high_priority_interrupt_handler); |
| 264 | } |
| 265 | } |
| 266 | |
| 267 | bool commit_entries(bool use_dma) |
| 268 | { |
no test coverage detected