aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32f7/src
diff options
context:
space:
mode:
Diffstat (limited to 'examples/stm32f7/src')
-rw-r--r--examples/stm32f7/src/bin/usb_serial.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/stm32f7/src/bin/usb_serial.rs b/examples/stm32f7/src/bin/usb_serial.rs
index bb42f4cc8..2fee561c7 100644
--- a/examples/stm32f7/src/bin/usb_serial.rs
+++ b/examples/stm32f7/src/bin/usb_serial.rs
@@ -54,12 +54,12 @@ async fn main(_spawner: Spawner) {
54 54
55 // Enable vbus_detection 55 // Enable vbus_detection
56 // Note: some boards don't have this wired up and might not require it, 56 // Note: some boards don't have this wired up and might not require it,
57 // as they are powered through usb! 57 // as they are powered through usb!
58 // If you hang on boot, try setting this to "false"! 58 // If you hang on boot, try setting this to "false"!
59 // See https://embassy.dev/book/dev/faq.html#_the_usb_examples_are_not_working_on_my_board_is_there_anything_else_i_need_to_configure 59 // See https://embassy.dev/book/dev/faq.html#_the_usb_examples_are_not_working_on_my_board_is_there_anything_else_i_need_to_configure
60 // for more information 60 // for more information
61 config.vbus_detection = true; 61 config.vbus_detection = true;
62 62
63 let driver = Driver::new_fs(p.USB_OTG_FS, Irqs, p.PA12, p.PA11, &mut ep_out_buffer, config); 63 let driver = Driver::new_fs(p.USB_OTG_FS, Irqs, p.PA12, p.PA11, &mut ep_out_buffer, config);
64 64
65 // Create embassy-usb Config 65 // Create embassy-usb Config