Skip to content

Commit

Permalink
Update usb examples after #464
Browse files Browse the repository at this point in the history
  • Loading branch information
richardeoin committed Nov 3, 2023
1 parent d452052 commit 725b99d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions examples/usb_phy_serial_interrupt.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
//! CDC-ACM serial port example using an external phy and interrupts
//!
//! This example is for RM0433/RM0399 parts. It has been tested on the Arduino
//! Portenta H7
#![no_std]
#![no_main]

Expand Down
2 changes: 1 addition & 1 deletion examples/usb_serial.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ fn main() -> ! {
#[cfg(any(feature = "rm0455", feature = "rm0468"))]
let (pin_dm, pin_dp) = {
let gpioa = dp.GPIOA.split(ccdr.peripheral.GPIOA);
(gpioa.pa11.into_alternate(), gpioa.pa12.into_alternate())
(gpioa.pa11, gpioa.pa12)
};

let usb = USB1::new(
Expand Down

0 comments on commit 725b99d

Please sign in to comment.