Merge branch 'fz-dev' into dev

This commit is contained in:
MX
2023-02-13 19:30:36 +03:00
12 changed files with 76 additions and 58 deletions

View File

@@ -340,7 +340,7 @@ static void usb_process_mode_start(FuriHalUsbInterface* interface, void* context
}
static void usb_process_mode_change(FuriHalUsbInterface* interface, void* context) {
if(interface != usb.interface) {
if((interface != usb.interface) || (context != usb.interface_context)) {
if(usb.enabled) {
// Disable current interface
susp_evt(&udev, 0, 0);