mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-27 00:35:59 -04:00
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:
parent
048359fb0e
commit
19eb6b44d5
6 changed files with 25 additions and 5 deletions
|
@ -49,6 +49,7 @@ void USBSerial::on_channel_opened() {
|
|||
}
|
||||
|
||||
void USBSerial::on_channel_closed() {
|
||||
reset_transfer_queues();
|
||||
connected = false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue