Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions embassy-usb/src/class/cdc_ncm/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,6 @@ impl<'d, D: Driver<'d>> CdcNcmClass<'d, D> {
],
);

let comm_ep = alt.endpoint_interrupt_in(None, 8, 255);

// Data interface
let mut iface = func.interface();
let data_if = iface.interface_number();
Expand All @@ -323,6 +321,8 @@ impl<'d, D: Driver<'d>> CdcNcmClass<'d, D> {
let read_ep = alt.endpoint_bulk_out(None, max_packet_size);
let write_ep = alt.endpoint_bulk_in(None, max_packet_size);

let comm_ep = alt.endpoint_interrupt_in(None, 8, 255);

drop(func);

let control = state.control.write(Control {
Expand Down