diff options
| author | Damien George | 2014-04-17 17:11:58 +0100 |
|---|---|---|
| committer | Damien George | 2014-04-17 17:11:58 +0100 |
| commit | 5f82b50324d83f963995a6c994eb73435b9660ba (patch) | |
| tree | dd0914842a2bc14b39c085a219597187d4a672cd /stmhal | |
| parent | dbdfee15a1839858b4d12f352b2e34597e6e76e9 (diff) | |
| parent | f200c30d53f7fa0239e4ef48ffcbfcad5cf5406f (diff) | |
Merge branch 'master' of github.com:micropython/micropython
Diffstat (limited to 'stmhal')
| -rw-r--r-- | stmhal/usbd_msc_storage.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/stmhal/usbd_msc_storage.c b/stmhal/usbd_msc_storage.c index 3599e289d..6ec9abc3d 100644 --- a/stmhal/usbd_msc_storage.c +++ b/stmhal/usbd_msc_storage.c @@ -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 |
