We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ba1f7d commit 5e8f5b7Copy full SHA for 5e8f5b7
1 file changed
firmware/hw_layer/mmc_card.cpp
@@ -351,13 +351,9 @@ static void removeFile(const char *pathx) {
351
#if HAL_USE_USB_MSD
352
353
static volatile bool usbConnected = false;
354
-static chibios_rt::BinarySemaphore usbConnectedSemaphore(/* taken =*/ true);
355
356
void onUsbConnectedNotifyMmcI(bool connected) {
357
usbConnected = connected;
358
- if (connected) {
359
- usbConnectedSemaphore.signalI();
360
- }
361
}
362
363
#endif /* HAL_USE_USB_MSD */
0 commit comments