diff --git a/lib/flashing/index.ts b/lib/flashing/index.ts index 54a4300..9b5c14a 100644 --- a/lib/flashing/index.ts +++ b/lib/flashing/index.ts @@ -528,9 +528,9 @@ async function flashIotGate(filename: string, autoKit: Autokit, port: string, dr await delay(5 * 1000); // power on the USB - but ensure it is powered off first - this way we ensure we get the device in a fresh state - await toggleUsb(false, port); + await toggleUsb(false, port, `1-1`); await delay(5*1000); - await toggleUsb(true, port); + await toggleUsb(true, port, `1-1`); await delay(5*1000); @@ -568,7 +568,7 @@ async function flashIotGate(filename: string, autoKit: Autokit, port: string, dr }); // simulate unplugging of the USB programming cable - await toggleUsb(false, port); + await toggleUsb(false, port, `1-1`); await delay(5*1000); await autoKit.power.off();