File tree Expand file tree Collapse file tree 2 files changed +0
-10
lines changed
Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -51,9 +51,6 @@ pub struct Board {
5151 /// Radio interface
5252 #[ cfg( feature = "radio" ) ]
5353 pub radio : crate :: radio:: Radio < ' static > ,
54- /// USBD (Universal Serial Bus Device) peripheral
55- #[ cfg( any( feature = "advanced" , feature = "usbd" ) ) ]
56- pub usbd : hal:: Peri < ' static , hal:: peripherals:: USBD > ,
5754 /// Raw register block for the USBD peripheral.
5855 #[ cfg( any( feature = "advanced" , feature = "usbd" ) ) ]
5956 pub usbd_regs : hal:: pac:: usbd:: Usbd ,
@@ -438,8 +435,6 @@ pub fn init() -> Result<Board, Error> {
438435 #[ cfg( feature = "advanced" ) ]
439436 ep0in : unsafe { usbd:: Ep0In :: new ( & EP0IN_BUF ) } ,
440437 #[ cfg( any( feature = "advanced" , feature = "usbd" ) ) ]
441- usbd : periph. USBD ,
442- #[ cfg( any( feature = "advanced" , feature = "usbd" ) ) ]
443438 usbd_regs : hal:: pac:: USBD ,
444439 #[ cfg( feature = "advanced" ) ]
445440 power : hal:: pac:: POWER ,
Original file line number Diff line number Diff line change @@ -47,9 +47,6 @@ pub struct Board {
4747 /// Radio interface
4848 #[ cfg( feature = "radio" ) ]
4949 pub radio : crate :: radio:: Radio < ' static > ,
50- /// USBD (Universal Serial Bus Device) peripheral
51- #[ cfg( any( feature = "advanced" , feature = "usbd" ) ) ]
52- pub usbd : hal:: Peri < ' static , hal:: peripherals:: USBD > ,
5350 /// Raw register block for the USBD peripheral.
5451 #[ cfg( any( feature = "advanced" , feature = "usbd" ) ) ]
5552 pub usbd_regs : hal:: pac:: usbd:: Usbd ,
@@ -390,8 +387,6 @@ pub fn init() -> Result<Board, Error>{
390387 #[ cfg( feature = "advanced" ) ]
391388 ep0in : unsafe { usbd:: Ep0In :: new ( & EP0IN_BUF ) } ,
392389 #[ cfg( any( feature = "advanced" , feature = "usbd" ) ) ]
393- usbd : periph. USBD ,
394- #[ cfg( any( feature = "advanced" , feature = "usbd" ) ) ]
395390 usbd_regs : hal:: pac:: USBD ,
396391 #[ cfg( feature = "advanced" ) ]
397392 power : hal:: pac:: POWER ,
You can’t perform that action at this time.
0 commit comments