fix(cli): compilation failure fix about missing Option<LayoutEdit>

This commit is contained in:
Alain Emilia Anna Zscheile 2024-11-29 12:51:44 +01:00
parent db9d897315
commit 3bdfa8c12e
1 changed files with 13 additions and 10 deletions

View File

@ -28,17 +28,20 @@ fn main() -> Result<(), std::io::Error> {
serde_json::from_reader(commands_bufread)?
} else {
let mut history = History::new();
history.do_(Command::Autoroute(
PinSelection::new_select_layer(&board, 0),
AutorouterOptions {
presort_by_pairwise_detours: false,
router_options: RouterOptions {
wrap_around_bands: true,
squeeze_through_under_bands: false,
routed_band_width: 100.0,
history.do_(
Command::Autoroute(
PinSelection::new_select_layer(&board, 0),
AutorouterOptions {
presort_by_pairwise_detours: false,
router_options: RouterOptions {
wrap_around_bands: true,
squeeze_through_under_bands: false,
routed_band_width: 100.0,
},
},
},
));
),
None,
);
history
};