Merge pull request #273 from xoviat/pin-sorting

sort pins to avoid diff
This commit is contained in:
xoviat 2023-10-06 00:14:36 +00:00 committed by GitHub
commit 5b75119688
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1015,6 +1015,9 @@ fn process_core(
})); }));
} }
// sort pins to avoid diff for c pins
p.pins.sort();
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;