Make the metapac gen enr/rst missing regs non-fatal to the build.

Should be solved in a separate effort.
This commit is contained in:
Bob McWhirter 2021-06-29 12:55:15 -04:00
parent 6b78d56ceb
commit 2a25de3d3e

View File

@ -431,13 +431,13 @@ pub fn gen(options: Options) {
]);
}
(None, Some(_)) => {
panic!("Unable to find enable register for {}", name)
print!("Unable to find enable register for {}", name)
}
(Some(_), None) => {
panic!("Unable to find reset register for {}", name)
print!("Unable to find reset register for {}", name)
}
(None, None) => {
panic!("Unable to find enable and reset register for {}", name)
print!("Unable to find enable and reset register for {}", name)
}
}
}