Fix unused mut.
This commit is contained in:
parent
1678c9f1e1
commit
eac1dc7600
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user