Skip to content
This repository was archived by the owner on Apr 16, 2021. It is now read-only.

Commit b03d904

Browse files
committed
MSD: increase eventQueue thread priority to fix write()
1 parent 0573071 commit b03d904

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/USBMSD/USBMSD.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ USBMSD::USBMSD(USBPhy *phy, mbed::BlockDevice *bd, uint16_t vendor_id, uint16_t
8181
PluggableUSBD().plug(this);
8282
}
8383

84-
static rtos::Thread _t(osPriorityHigh, 64 * 1024);
84+
static rtos::Thread _t(osPriorityRealtime, 64 * 1024);
8585
static events::EventQueue _queue(64*sizeof(int));
8686

8787
void USBMSD::init(EndpointResolver& resolver)

0 commit comments

Comments
 (0)