Improved fix for rare lowering feed/rapid override bug.
[fix] In the previous hot fix, there was still (rarer) potential for very small floating point errors incorrectly handle an override deceleration and crash Grbl. Re-factored the if-then statement in terms of speed changes, rather than distance, to completely eliminate the issue.
This commit is contained in:
parent
477a94cd49
commit
5967839ab3
3 changed files with 13 additions and 6 deletions
|
|
@ -1,3 +1,11 @@
|
|||
----------------
|
||||
Date: 2017-07-31
|
||||
Author: Sonny Jeon
|
||||
Subject: Hot fix for rare lowering feed override bug.
|
||||
|
||||
[fix] Squashed a very rare bug when lowering the feedrate (or rapid) override. When in the very strict set of circumstances with acceleration settings, override step size, and current speed, an internal calculation would cause Grbl to crash. The fix was an overlooked equality statement that should have been a less than or equal, not a less than.
|
||||
|
||||
|
||||
----------------
|
||||
Date: 2017-07-17
|
||||
Author: Sonny Jeon
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue