rp/usb: add TODO: implement VBUS detection.
This commit is contained in:
		
							parent
							
								
									5e6e18b310
								
							
						
					
					
						commit
						a2d1e7f02c
					
				@ -353,6 +353,7 @@ impl<'d, T: Instance> driver::Bus for Bus<'d, T> {
 | 
				
			|||||||
        poll_fn(move |cx| {
 | 
					        poll_fn(move |cx| {
 | 
				
			||||||
            BUS_WAKER.register(cx.waker());
 | 
					            BUS_WAKER.register(cx.waker());
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            // TODO: implement VBUS detection.
 | 
				
			||||||
            if !self.inited {
 | 
					            if !self.inited {
 | 
				
			||||||
                self.inited = true;
 | 
					                self.inited = true;
 | 
				
			||||||
                return Poll::Ready(Event::PowerDetected);
 | 
					                return Poll::Ready(Event::PowerDetected);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user