mirror of
https://github.com/esp-rs/esp-idf-hal.git
synced 2025-09-29 21:31:17 +00:00
Remove 4096 limit for SPI dma transfer size (#379)
This commit is contained in:
parent
81675ccbf5
commit
51e761ab51
@ -100,7 +100,6 @@ impl Dma {
|
||||
match max_transfer_size {
|
||||
0 => panic!("The max transfer size must be greater than 0"),
|
||||
x if x % 4 != 0 => panic!("The max transfer size must be a multiple of 4"),
|
||||
x if x > 4096 => panic!("The max transfer size must be less than or equal to 4096"),
|
||||
_ => max_transfer_size,
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user