From 651a2a903befdb6df1e77f263628b4ebfb63c931 Mon Sep 17 00:00:00 2001 From: Terje Io Date: Mon, 11 Jul 2022 07:56:02 +0200 Subject: [PATCH] Moved initial stepper enable call to the core (from drivers) --- README.md | 4 ++-- changelog.md | 16 ++++++++++++++++ grbl.h | 2 +- grbllib.c | 2 ++ 4 files changed, 21 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 426048c..0abe14c 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ It has been written to complement grblHAL and has features such as proper keyboa --- -Latest build date is 20220703, see the [changelog](changelog.md) for details. +Latest build date is 20220710, see the [changelog](changelog.md) for details. __NOTE:__ A settings reset will be performed on an update for versions earlier than 20211122. Backup and restore of settings is recommended. __IMPORTANT!__ A new setting has been introduced for ganged axes motors in version 20211121. I have only bench tested this for a couple of drivers, correct function should be verified after updating by those who have more than three motors configured. @@ -83,4 +83,4 @@ List of Supported G-Codes: Some [plugins](https://github.com/grblHAL/plugins) implements additional M-codes. --- -2022-07-03 +2022-07-10 diff --git a/changelog.md b/changelog.md index d34370a..0383c26 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,21 @@ ## grblHAL changelog +20220710: + +Core: + +* Moved initial stepper enable call to the core (from drivers). + +Drivers: + +* Most: updated for move of stepper enable initial stepper enable call to the core. + +* STM32F4xx: Fix for missing code guard, updated my_machine.h options. + +* STM32F7xx: Fix for incorrect `$pins` report for SPI pins. + +--- + 20220709: Core: diff --git a/grbl.h b/grbl.h index 54aafc1..439889a 100644 --- a/grbl.h +++ b/grbl.h @@ -34,7 +34,7 @@ #else #define GRBL_VERSION "1.1f" #endif -#define GRBL_BUILD 20220709 +#define GRBL_BUILD 20220710 // The following symbols are set here if not already set by the compiler or in config.h // Do NOT change here! diff --git a/grbllib.c b/grbllib.c index 189469f..a49c372 100644 --- a/grbllib.c +++ b/grbllib.c @@ -197,6 +197,8 @@ int grbl_enter (void) protocol_enqueue_rt_command(report_driver_error); } + hal.stepper.enable(settings.steppers.deenergize); + if(hal.spindle.set_state) hal.spindle.set_state((spindle_state_t){0}, 0.0f);