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,7 +28,8 @@ fn main() -> Result<(), std::io::Error> {
serde_json::from_reader(commands_bufread)?
} else {
let mut history = History::new();
history.do_(Command::Autoroute(
history.do_(
Command::Autoroute(
PinSelection::new_select_layer(&board, 0),
AutorouterOptions {
presort_by_pairwise_detours: false,
@ -38,7 +39,9 @@ fn main() -> Result<(), std::io::Error> {
routed_band_width: 100.0,
},
},
));
),
None,
);
history
};