Skip to content

Commit ec858d8

Browse files
committed
fix: Update log level
1 parent 9cb756e commit ec858d8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

espflash/src/connection/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@ impl Connection {
760760
// First try to detect chip using security_info when possible
761761
if let Ok(security_info) = self.security_info(use_stub) {
762762
if let Some(chip_id) = security_info.chip_id {
763-
info!("Detected chip using security info chip_id: {chip_id}");
763+
debug!("Detected chip using security info chip_id: {chip_id}");
764764
// Convert u32 chip_id to u16 for compatibility with Chip::try_from
765765
match Chip::try_from(chip_id as u16) {
766766
Ok(chip) => return Ok(chip),

espflash/src/flasher/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -975,6 +975,7 @@ impl Flasher {
975975
}
976976

977977
/// Get security info.
978+
// TODO: Deprecate this method in the next major release
978979
pub fn security_info(&mut self) -> Result<SecurityInfo, Error> {
979980
self.connection.security_info(self.use_stub)
980981
}

0 commit comments

Comments
 (0)