Skip to content

Commit

Permalink
USB::begin() now requires parameter indicating mode (device or host)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikee47 committed Dec 12, 2024
1 parent 4dec67d commit 0c46ece
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion samples/Basic_IFS/app/application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ bool initFileSystem()
#endif

#ifdef ENABLE_USB_STORAGE
USB::begin();
USB::begin(true);
USB::MSC::onMount([](auto inst) {
usbStorage.begin(inst);
usbStorage.enumerate([](auto& unit, const USB::MSC::Inquiry& inquiry) {
Expand Down

0 comments on commit 0c46ece

Please sign in to comment.