mirror of
https://github.com/trussed-dev/usbd-ccid.git
synced 2026-06-20 04:16:20 -07:00
Another round of adjustments to Trussed, mostly owned ObjectHandles
This commit is contained in:
committed by
Nicolas Stalder
parent
9998bd9743
commit
7ad162289e
+4
-4
@@ -215,7 +215,7 @@ where
|
||||
self.state = State::Receiving;
|
||||
self.send_empty_datablock(Chain::ExpectingMore);
|
||||
}
|
||||
_ => panic!("{:?} unexpected in idle state"),
|
||||
_ => panic!("unexpectedly in idle state"),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -234,7 +234,7 @@ where
|
||||
self.call_app();
|
||||
self.state = State::Processing;
|
||||
}
|
||||
_ => panic!("{:?} unexpected in receiving state"),
|
||||
_ => panic!("unexpectedly in receiving state"),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -245,7 +245,7 @@ where
|
||||
}
|
||||
|
||||
State::ReadyToSend => {
|
||||
panic!("{:?} unexpected in ready-to-send state")
|
||||
panic!("unexpectedly in ready-to-send state")
|
||||
}
|
||||
|
||||
State::Sending => {
|
||||
@@ -253,7 +253,7 @@ where
|
||||
Chain::ExpectingMore => {
|
||||
self.prime_outbox();
|
||||
}
|
||||
_ => panic!("{:?} unexpected in receiving state"),
|
||||
_ => panic!("unexpectedly in receiving state"),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user