lint
This commit is contained in:
@@ -34,8 +34,14 @@ impl ErrorType for SimMcp23017 {
|
||||
}
|
||||
|
||||
impl I2c for SimMcp23017 {
|
||||
fn transaction(&mut self, _address: SevenBitAddress, operations: &mut [Operation<'_>]) -> Result<(), Self::Error> {
|
||||
trace!("SimMcp23017::transaction(self: {self:?}, _address: {_address}, operations: {operations:?})");
|
||||
fn transaction(
|
||||
&mut self,
|
||||
address: SevenBitAddress,
|
||||
operations: &mut [Operation<'_>],
|
||||
) -> Result<(), Self::Error> {
|
||||
trace!(
|
||||
"SimMcp23017::transaction(self: {self:?}, address: {address}, operations: {operations:?})"
|
||||
);
|
||||
for operation in operations {
|
||||
match operation {
|
||||
Operation::Write(_write_buffer) => {
|
||||
|
||||
Reference in New Issue
Block a user