Skip to content
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

clear statusloop interval before set it #153

Merged

Conversation

linanw
Copy link
Contributor

@linanw linanw commented Sep 22, 2020

Everytime grbl restarts, welcome message (with "Grbl" it) will trigger setting the statusloop, without clear the loop previously set. stopPort() only clear the last one, but leftover rest of them. Adding clearInterval right before setInterval to ensure single statusloop.

Forum conversation: https://openbuilds.com/threads/grbl-mega-or-mega-x5-not-recognised.15890/

Co-Authored-By: AqeeAqee 25360426+aqeeaqee@users.noreply.github.com

Everytime grbl restarts, welcome message (with "Grbl" it) will trigger setting the statusloop, without clear the loop previously set. stopPort() only clear the last one, but leftover rest of them. Adding clearInterval right before setInterval to ensure single statusloop.

Co-Authored-By: AqeeAqee <25360426+aqeeaqee@users.noreply.github.com>
@petervanderwalt petervanderwalt merged commit 51beec5 into OpenBuilds:master Sep 22, 2020
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.

None yet

2 participants