-
-
Notifications
You must be signed in to change notification settings - Fork 37
File Manager view triggers file-list on switch. #184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: ubi de feo <[email protected]>
Signed-off-by: ubi de feo <[email protected]>
@ubidefeo Can you provide some information why you added a "sleep"? What was the issue? |
@sebromero |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a comment for why we added the sleep
ui/arduino/store.js
Outdated
} | ||
if(view === 'file-manager') { | ||
emitter.emit('stop') | ||
await sleep(500) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
await sleep(500) | |
await sleep(500) // Give the board time to stop the program and return to the prompt |
Signed-off-by: ubi de feo <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.