Skip to content

Commit f057b15

Browse files
committed
Amended sleep with comment from Sebastian's feedback.
Signed-off-by: ubi de feo <me@ubidefeo.com>
1 parent efd8350 commit f057b15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/arduino/store.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ async function store(state, emitter) {
114114
}
115115
if(view === 'file-manager') {
116116
emitter.emit('stop')
117-
await sleep(500)
117+
await sleep(250) // Give the board time to stop the program and return to the prompt
118118
emitter.emit('refresh-files')
119119
}
120120
state.view = view

0 commit comments

Comments
 (0)