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)? serde_json::from_reader(commands_bufread)?
} else { } else {
let mut history = History::new(); let mut history = History::new();
history.do_(Command::Autoroute( history.do_(
PinSelection::new_select_layer(&board, 0), Command::Autoroute(
AutorouterOptions { PinSelection::new_select_layer(&board, 0),
presort_by_pairwise_detours: false, AutorouterOptions {
router_options: RouterOptions { presort_by_pairwise_detours: false,
wrap_around_bands: true, router_options: RouterOptions {
squeeze_through_under_bands: false, wrap_around_bands: true,
routed_band_width: 100.0, squeeze_through_under_bands: false,
routed_band_width: 100.0,
},
}, },
}, ),
)); None,
);
history history
}; };