aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usbh/src/pipe.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/usbh/src/pipe.rs b/usbh/src/pipe.rs
index 2823dbe..3dab629 100644
--- a/usbh/src/pipe.rs
+++ b/usbh/src/pipe.rs
@@ -177,11 +177,6 @@ impl Pipe<'_, '_> {
nak_limit: usize,
millis: &dyn Fn() -> usize,
) -> Result<(), PipeErr> {
- // Data needs to be word aligned.
- assert!((buf.ptr as u32) & 0x3 == 0);
- // byte_count section of register is 14 bits.
- assert!(buf.len < 16_384);
-
trace!("p{}: sending {:?}", self.num, buf);
self.desc