We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6040c4d commit b71ff90Copy full SHA for b71ff90
libraries/USBMSD/Singleton.cpp
@@ -78,6 +78,7 @@ class FlashIAPBlockDeviceMutexFriendly: public FlashIAPBlockDevice {
78
*/
79
80
//static FlashIAPBlockDeviceMutexFriendly bd(0x80000, 0x80000);
81
+#ifdef NRF52840_XXAA
82
static FlashIAPBlockDevice bd(0x80000, 0x80000);
83
84
void USBMSD::begin()
@@ -94,4 +95,6 @@ mbed::FATFileSystem& USBMSD::getFileSystem()
94
95
return fs;
96
}
97
-USBMSD MassStorage(&bd);
98
+USBMSD MassStorage(&bd);
99
+
100
+#endif
0 commit comments