make usb-dfu work with usb serial
This commit is contained in:
		| @@ -73,6 +73,8 @@ impl<'d, STATE: NorFlash, RST: Reset> Handler for Control<'d, STATE, RST> { | ||||
|                 self.detach_start = Some(Instant::now()); | ||||
|                 self.timeout = Some(Duration::from_millis(req.value as u64)); | ||||
|                 self.state = State::AppDetach; | ||||
|                 // hack to make it work together with usb serial logging | ||||
|                 self.reset(); | ||||
|                 Some(OutResponse::Accepted) | ||||
|             } | ||||
|             _ => None, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user