Skip to content

Commit f55c738

Browse files
committed
Remove delay method.
1 parent 207b988 commit f55c738

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/transport/cmsis_dap.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,6 @@ export class CMSISDAP {
156156
return buf.subarray(2, buf[1] + 2 - 1); // .toString("utf8")
157157
}
158158

159-
private delay(time: number) {
160-
return new Promise(resolve => {
161-
setTimeout(resolve.bind(null, null), time);
162-
});
163-
}
164-
165159
private async send(command: number[]) {
166160
const array = Uint8Array.from(command);
167161
await this.hid.write(array.buffer);

0 commit comments

Comments
 (0)