Skip to content

Commit a045f53

Browse files
committed
Add missing import when using linux and musl
1 parent 151ca29 commit a045f53

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

espflash/src/cli/serial.rs

+2
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ fn detect_usb_serial_ports() -> Result<Vec<SerialPortInfo>> {
114114
path::PathBuf,
115115
};
116116

117+
use serialport::UsbPortInfo;
118+
117119
let ports = available_ports().into_diagnostic()?;
118120
let ports = ports
119121
.into_iter()

0 commit comments

Comments
 (0)