diff --git a/doc/log/commit_log_v1.1.txt b/doc/log/commit_log_v1.1.txt index ebd0197..b4d13b4 100644 --- a/doc/log/commit_log_v1.1.txt +++ b/doc/log/commit_log_v1.1.txt @@ -1,3 +1,15 @@ +---------------- +Date: 2017-07-17 +Author: Sonny Jeon +Subject: Clean up and new streaming script check-mode feature. + +[new] The stream.py streaming script now has a check-mode option, where it will place Grbl in $C check mode automatically and then stream the g-code program. It's a very fast way to check if the g-code program has any errors. + +[fix] The debug variable was not initialized if the debug option was enabled in config.h + +[fix] Updated error_codes CSV file to the same format as the others. + + ---------------- Date: 2017-05-31 Author: chamnit diff --git a/grbl/grbl.h b/grbl/grbl.h index 15b529e..f4eb0dd 100644 --- a/grbl/grbl.h +++ b/grbl/grbl.h @@ -23,7 +23,7 @@ // Grbl versioning system #define GRBL_VERSION "1.1f" -#define GRBL_VERSION_BUILD "20170717" +#define GRBL_VERSION_BUILD "20170731" // Define standard libraries used by Grbl. #include diff --git a/grbl/stepper.c b/grbl/stepper.c index 09e83fd..2f6b18b 100644 --- a/grbl/stepper.c +++ b/grbl/stepper.c @@ -808,7 +808,7 @@ void st_prep_buffer() speed_var = pl_block->acceleration*time_var; mm_var = time_var*(prep.current_speed - 0.5*speed_var); mm_remaining -= mm_var; - if ((mm_remaining < prep.accelerate_until) || (mm_var <= 0)) { + if ((mm_remaining <= prep.accelerate_until) || (mm_var <= 0.0)) { // Cruise or cruise-deceleration types only for deceleration override. mm_remaining = prep.accelerate_until; // NOTE: 0.0 at EOB time_var = 2.0*(pl_block->millimeters-mm_remaining)/(prep.current_speed+prep.maximum_speed);