Skip to content

Commit

Permalink
Update vid/pid
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani committed May 1, 2024
1 parent 2b98180 commit c9c9e5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/src/bin/embassy_usb_serial.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ async fn main(_spawner: Spawner) -> () {
let driver = Driver::new(usb, &mut ep_out_buffer, config);

// Create embassy-usb Config
let mut config = embassy_usb::Config::new(0x16c0, 0x27dd);
let mut config = embassy_usb::Config::new(0x303A, 0x3001);
config.manufacturer = Some("Espressif");
config.product = Some("USB-serial example");
config.serial_number = Some("12345678");
Expand Down
2 changes: 1 addition & 1 deletion examples/src/bin/usb_serial.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ fn main() -> ! {

let mut serial = SerialPort::new(&usb_bus);

let mut usb_dev = UsbDeviceBuilder::new(&usb_bus, UsbVidPid(0x16c0, 0x27dd))
let mut usb_dev = UsbDeviceBuilder::new(&usb_bus, UsbVidPid(0x303A, 0x3001))
.device_class(USB_CLASS_CDC)
.build();

Expand Down

0 comments on commit c9c9e5f

Please sign in to comment.