Make irq token Copy+Clone

This commit is contained in:
Dario Nieuwenhuis
2023-09-25 22:34:41 +02:00
parent 6e63c8d4bf
commit bd9021ca1d
3 changed files with 4 additions and 1 deletions

View File

@ -102,6 +102,7 @@ mod chip;
#[macro_export]
macro_rules! bind_interrupts {
($vis:vis struct $name:ident { $($irq:ident => $($handler:ty),*;)* }) => {
#[derive(Copy, Clone)]
$vis struct $name;
$(