Skip to content

Conversation

@ubidefeo
Copy link
Collaborator

No description provided.

Signed-off-by: ubi de feo <me@ubidefeo.com>
@ubidefeo ubidefeo requested review from Copilot and sebromero April 11, 2025 14:18

This comment was marked as resolved.

@ubidefeo ubidefeo self-assigned this Apr 12, 2025
Signed-off-by: ubi de feo <me@ubidefeo.com>
@sebromero
Copy link
Collaborator

@ubidefeo Can you provide some information why you added a "sleep"? What was the issue?
There might be a cleaner way to solve it.

@ubidefeo
Copy link
Collaborator Author

ubidefeo commented Apr 14, 2025

@sebromero
the stop immediately followed by another command can send slower boards into RAW PASTE and they get stuck

Copy link
Collaborator

@sebromero sebromero left a 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

}
if(view === 'file-manager') {
emitter.emit('stop')
await sleep(500)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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 <me@ubidefeo.com>
Copy link
Collaborator

@sebromero sebromero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ubidefeo ubidefeo merged commit 1a2b11d into development Apr 15, 2025
1 check passed
@ubidefeo ubidefeo deleted the fix/filemanager-update-file-list branch April 15, 2025 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants