Skip to content

Commit c07f405

Browse files
committed
Make MSC static
1 parent 6464a8b commit c07f405

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/storage/storage.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ static_assert(ARDUINO_USB_MODE == 0, "must be used when USB is in OTG mode");
1616
#define HWSerial Serial
1717
#endif
1818

19-
USBMSC MSC;
19+
static USBMSC MSC;
2020

2121
static const uint32_t DISK_SECTOR_COUNT = 2 * 8; // 8KB is the smallest size that windows allow to mount
2222
static const uint16_t DISK_SECTOR_SIZE = 512; // Should be 512

0 commit comments

Comments
 (0)