rustfmt usb examples

This commit is contained in:
Joël Schulz-Ansres 2024-04-22 01:06:59 +02:00
parent 896d0e7cd8
commit 01b36a4434
8 changed files with 13 additions and 13 deletions

View File

@ -79,7 +79,7 @@ async fn main(spawner: Spawner) {
// Enable vbus_detection
// Note: some boards don't have this wired up and might not require it,
// as they are powered through usb!
// as they are powered through usb!
// If you hang on boot, try setting this to "false"!
// 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
// for more information

View File

@ -57,12 +57,12 @@ async fn main(_spawner: Spawner) {
// Enable vbus_detection
// Note: some boards don't have this wired up and might not require it,
// as they are powered through usb!
// as they are powered through usb!
// If you hang on boot, try setting this to "false"!
// 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
// for more information
config.vbus_detection = true;
let driver = Driver::new_fs(p.USB_OTG_FS, Irqs, p.PA12, p.PA11, &mut ep_out_buffer, config);
// Create embassy-usb Config

View File

@ -54,7 +54,7 @@ async fn main(_spawner: Spawner) {
// Enable vbus_detection
// Note: some boards don't have this wired up and might not require it,
// as they are powered through usb!
// as they are powered through usb!
// If you hang on boot, try setting this to "false"!
// 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
// for more information

View File

@ -107,12 +107,12 @@ async fn main(_spawner: Spawner) {
// Enable vbus_detection
// Note: some boards don't have this wired up and might not require it,
// as they are powered through usb!
// as they are powered through usb!
// If you hang on boot, try setting this to "false"!
// 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
// for more information
config.vbus_detection = true;
let driver = Driver::new_fs(p.USB_OTG_FS, Irqs, p.PA12, p.PA11, &mut ep_out_buffer, config);
// Create embassy-usb Config

View File

@ -54,12 +54,12 @@ async fn main(_spawner: Spawner) {
// Enable vbus_detection
// Note: some boards don't have this wired up and might not require it,
// as they are powered through usb!
// as they are powered through usb!
// If you hang on boot, try setting this to "false"!
// 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
// for more information
config.vbus_detection = true;
let driver = Driver::new_fs(p.USB_OTG_FS, Irqs, p.PA12, p.PA11, &mut ep_out_buffer, config);
// Create embassy-usb Config

View File

@ -54,12 +54,12 @@ async fn main(_spawner: Spawner) {
// Enable vbus_detection
// Note: some boards don't have this wired up and might not require it,
// as they are powered through usb!
// as they are powered through usb!
// If you hang on boot, try setting this to "false"!
// 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
// for more information
config.vbus_detection = true;
let driver = Driver::new_fs(p.USB_OTG_FS, Irqs, p.PA12, p.PA11, &mut ep_out_buffer, config);
// Create embassy-usb Config

View File

@ -55,12 +55,12 @@ async fn main(_spawner: Spawner) {
// Enable vbus_detection
// Note: some boards don't have this wired up and might not require it,
// as they are powered through usb!
// as they are powered through usb!
// If you hang on boot, try setting this to "false"!
// 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
// for more information
config.vbus_detection = true;
let driver = Driver::new_fs(p.USB_OTG_FS, Irqs, p.PA12, p.PA11, &mut ep_out_buffer, config);
// Create embassy-usb Config

View File

@ -49,7 +49,7 @@ async fn main(_spawner: Spawner) {
// Enable vbus_detection
// Note: some boards don't have this wired up and might not require it,
// as they are powered through usb!
// as they are powered through usb!
// If you hang on boot, try setting this to "false"!
// 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
// for more information