Skip to content

Commit

Permalink
[Fixes #72] Fix formatting of amended fragment in example
Browse files Browse the repository at this point in the history
  • Loading branch information
michalfita committed Dec 23, 2023
1 parent ad7af38 commit c809595
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions boards/atsamv71_xult/examples/usb_serial_echo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,11 @@ mod app {
.strings(&[StringDescriptors::new(LangID::EN)
.manufacturer("ATSAMx7x HAL Contributors")
.product("Serial port echo")
.serial_number("N/A")]).unwrap()
.serial_number("N/A")])
.unwrap()
.device_class(USB_CLASS_CDC)
.max_packet_size_0(64).unwrap() // makes control transfers 8x faster
.max_packet_size_0(64)
.unwrap() // makes control transfers 8x faster
.build();

rprintln!(" done");
Expand Down

0 comments on commit c809595

Please sign in to comment.