diff --git a/stm32-data-gen/src/chips.rs b/stm32-data-gen/src/chips.rs index 1a23b4e..6fd8359 100644 --- a/stm32-data-gen/src/chips.rs +++ b/stm32-data-gen/src/chips.rs @@ -1030,7 +1030,7 @@ fn process_core( let core_dma_channels = chs.clone(); let have_chs: HashSet<_> = chs.into_iter().collect(); // Process peripheral - DMA channel associations - for mut p in &mut peripherals { + for p in &mut peripherals { let mut chs = Vec::new(); for dma in &chip_dmas { let mut peri_chs = dma_channels.0.get(dma).unwrap().peripherals.get(&p.name);