mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
Js BadUSB add quit() function to switch with UsbDisk
This commit is contained in:
@@ -31,3 +31,6 @@ if (badusb.isConnected()) {
|
||||
print("USB not connected");
|
||||
notify.error();
|
||||
}
|
||||
|
||||
// Optional, but allows to interchange with usbdisk
|
||||
badusb.quit();
|
||||
Reference in New Issue
Block a user