mirror of
https://github.com/esp-rs/espflash.git
synced 2026-04-16 11:24:32 +00:00
Add missing import when using linux and musl
This commit is contained in:
committed by
Jesse Braham
parent
151ca29a09
commit
a045f53cb8
@@ -114,6 +114,8 @@ fn detect_usb_serial_ports() -> Result<Vec<SerialPortInfo>> {
|
||||
path::PathBuf,
|
||||
};
|
||||
|
||||
use serialport::UsbPortInfo;
|
||||
|
||||
let ports = available_ports().into_diagnostic()?;
|
||||
let ports = ports
|
||||
.into_iter()
|
||||
|
||||
Reference in New Issue
Block a user