Skip to content

Commit e3a3f8c

Browse files
committed
add endpoint size
1 parent 61e6130 commit e3a3f8c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/otg_fs.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ unsafe impl UsbPeripheral for USB {
3030

3131
const HIGH_SPEED: bool = false;
3232
const FIFO_DEPTH_WORDS: usize = 320;
33+
const ENDPOINT_COUNT: usize = 4;
3334

3435
fn enable() {
3536
let rcc = unsafe { &*stm32::RCC::ptr() };

0 commit comments

Comments
 (0)