fixed usb serial not working after reconnect (#2196)

* fixed usb serial not working after reconnect

* added restart for sd over usb disconnect

* improved usb serial fix

* fixed formatting
This commit is contained in:
Bernd Herzog
2024-07-17 11:17:42 +02:00
committed by GitHub
parent 048359fb0e
commit 19eb6b44d5
6 changed files with 25 additions and 5 deletions
+1 -1
View File
@@ -23,7 +23,7 @@
#include "sd_over_usb.h"
#include "scsi.h"
bool scsi_running = false;
volatile bool scsi_running = false;
usb_request_status_t report_max_lun(
usb_endpoint_t* const endpoint,