Remove output() and split() methods from HidClass when there is no out endpoint, and route set_report requests for output reports to RequestHandler::set_report in that case.
This commit is contained in:
committed by
Dario Nieuwenhuis
parent
daf2379fa4
commit
c309531874
@ -64,12 +64,13 @@ async fn main(_spawner: Spawner, p: Peripherals) {
|
||||
);
|
||||
|
||||
// Create classes on the builder.
|
||||
let mut hid = HidClass::new_ep_in(
|
||||
let mut hid = HidClass::new(
|
||||
&mut builder,
|
||||
&mut state,
|
||||
MouseReport::desc(),
|
||||
Some(&request_handler),
|
||||
60,
|
||||
8,
|
||||
);
|
||||
|
||||
// Build the builder.
|
||||
|
Reference in New Issue
Block a user