Js BadUSB add quit() function to switch with UsbDisk

This commit is contained in:
Willy-JL
2024-02-16 05:34:32 +00:00
parent 9ab629da35
commit 7288499d13
2 changed files with 31 additions and 7 deletions

View File

@@ -31,3 +31,6 @@ if (badusb.isConnected()) {
print("USB not connected");
notify.error();
}
// Optional, but allows to interchange with usbdisk
badusb.quit();