Skip to content

Commit

Permalink
cleanup: codegen stabilization
Browse files Browse the repository at this point in the history
This change stabilizes what gets generated, so we don't have
stuff changing randomly each time the crate is generated
  • Loading branch information
Codetector1374 authored and andelf committed Oct 30, 2024
1 parent 957000c commit b10ad27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ch32-data-gen/src/dma.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use std::{
collections::{HashMap, HashSet},
collections::{BTreeSet, HashMap},
path::Path,
};

Expand All @@ -12,7 +12,7 @@ pub fn handle_chip_dma_include<P: AsRef<Path>>(
for core in &mut chip.cores {
// DMA, Signal, Channel
// e.g. DMA1, ADC1, 1
let mut all_dma_signals: HashSet<(String, String, u8)> = HashSet::new();
let mut all_dma_signals: BTreeSet<(String, String, u8)> = BTreeSet::new();

if let Some(dma_channels_inc) = core.include_dma_channels.take() {
for (dma, inc_path) in dma_channels_inc {
Expand Down

0 comments on commit b10ad27

Please sign in to comment.