Skip to content

Commit f5db7ac

Browse files
committed
better --board detect for (non 'cargo-') espflash
1 parent 15b9975 commit f5db7ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

espflash/src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ fn main() -> Result<()> {
4949
let mut flasher = Flasher::connect(serial, None)?;
5050

5151
if board_info {
52-
println!("Chip type: {:?}", flasher.chip());
53-
println!("Flash size: {:?}", flasher.flash_size());
52+
println!("Chip type: {}", flasher.chip());
53+
println!("Flash size: {}", flasher.flash_size());
5454

5555
return Ok(());
5656
}

0 commit comments

Comments
 (0)