Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
e553ff2f
Commit
e553ff2f
authored
Apr 16, 2014
by
Dave Hylands
Browse files
Fix to allow usbd_msc_storage.c to compile when MICROPY_HW_HAS_SDCARD isn't defined.
parent
f6be480b
Changes
1
Show whitespace changes
Inline
Side-by-side
stmhal/usbd_msc_storage.c
View file @
e553ff2f
...
...
@@ -38,7 +38,10 @@
// These are needed to support removal of the medium, so that the USB drive
// can be unmounted, and won't be remounted automatically.
static
uint8_t
flash_removed
=
0
;
#if MICROPY_HW_HAS_SDCARD
static
uint8_t
sdcard_removed
=
0
;
#endif
/******************************************************************************/
// Callback functions for when the internal flash is the mass storage device
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment