Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions mctp-estack/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
#![forbid(unsafe_code)]
#![allow(clippy::int_plus_one)]
#![allow(clippy::too_many_arguments)]
// defmt does not currently allow inline format arguments, so we don't want
// those reworked when using the log crate either.
#![allow(clippy::uninlined_format_args)]

/// Re-exported so that callers can use the same `heapless` version.
///
Expand Down
3 changes: 3 additions & 0 deletions mctp-usb-embassy/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
*/
#![no_std]
#![forbid(unsafe_code)]
// defmt does not currently allow inline format arguments, so we don't want
// those reworked when using the log crate either.
#![allow(clippy::uninlined_format_args)]

//! # MCTP over USB transport for `embassy-usb`.
//!
Expand Down
2 changes: 1 addition & 1 deletion pldm-fw/src/ua.rs
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ where

progress(&u);
} else {
error!("firmware transfer error: 0x{:02x}", res);
error!("firmware transfer error: 0x{res:02x}");
}
let mut fw_resp = fw_req.response();
fw_resp.cc = 0;
Expand Down