stm32: allow unused macrotables.

This commit is contained in:
Dario Nieuwenhuis 2022-03-04 18:03:31 +01:00
parent 44096358a2
commit 265cd1115b

View file

@ -773,7 +773,7 @@ impl<T: Iterator> IteratorExt for T {
fn make_table(out: &mut String, name: &str, data: &Vec<Vec<String>>) { fn make_table(out: &mut String, name: &str, data: &Vec<Vec<String>>) {
write!( write!(
out, out,
" "#[allow(unused)]
macro_rules! {} {{ macro_rules! {} {{
($($pat:tt => $code:tt;)*) => {{ ($($pat:tt => $code:tt;)*) => {{
macro_rules! __{}_inner {{ macro_rules! __{}_inner {{