stm32/dma: Fix macrotable column count not matching in DMAMUX-less BDMAv1.

This commit is contained in:
Dario Nieuwenhuis 2021-07-15 21:40:08 +02:00
parent 01cc733c61
commit dff4b42a33

View File

@ -358,6 +358,8 @@ pub fn gen(options: Options) {
row.push(core.dma_channels[&channel.channel].channel.to_string()); row.push(core.dma_channels[&channel.channel].channel.to_string());
if let Some(request) = channel.request { if let Some(request) = channel.request {
row.push(request.to_string()); row.push(request.to_string());
} else {
row.push("()".to_string());
} }
peripheral_dma_channels_table.push(row); peripheral_dma_channels_table.push(row);
} }