sort pins by key
This commit is contained in:
parent
9075e499c2
commit
e7a291e659
@ -1017,7 +1017,7 @@ fn process_core(
|
|||||||
}
|
}
|
||||||
|
|
||||||
// sort pins to avoid diff for c pins
|
// sort pins to avoid diff for c pins
|
||||||
p.pins.sort();
|
p.pins.sort_by_key(|x| (x.pin.clone(), x.signal.clone()));
|
||||||
|
|
||||||
if let Some(peri_irqs) = chip_irqs.get(&pname) {
|
if let Some(peri_irqs) = chip_irqs.get(&pname) {
|
||||||
use stm32_data_serde::chip::core::peripheral::Interrupt;
|
use stm32_data_serde::chip::core::peripheral::Interrupt;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user