Commit b08f9212 authored by Damien George's avatar Damien George
Browse files

Merge pull request #500 from dhylands/fix-sdcard-removed

Fix to allow usbd_msc_storage.c to compile when MICROPY_HW_HAS_SDCARD is...
parents 7447e80f 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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment