diff --git a/README.md b/README.md index 3290a56..45901dc 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ It has been written to complement grblHAL and has features such as proper keyboa --- -Latest build date is 20230128, see the [changelog](changelog.md) for details. +Latest build date is 20230129, see the [changelog](changelog.md) for details. __NOTE:__ A settings reset will be performed on an update of builds earlier than 20230125. Backup and restore of settings is recommended. __IMPORTANT!__ A new setting has been introduced for ganged axes motors in build 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. diff --git a/changelog.md b/changelog.md index 189f242..17d2db2 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,13 @@ ## grblHAL changelog +Build 20230129 + +Core: + +* Fixed regression in tool change handling related to refactoring of _config.h_ in build 20230125. + +--- + Build 20230128 Core: diff --git a/config.h b/config.h index 98355a0..5a505c0 100644 --- a/config.h +++ b/config.h @@ -204,7 +204,7 @@ the negative direction. In other words, a positive tool length offset value is s from the current location. */ #if !defined TOOL_LENGTH_OFFSET_AXIS || defined __DOXYGEN__ -#define TOOL_LENGTH_OFFSET_AXIS 0 // Default is all axes. +#define TOOL_LENGTH_OFFSET_AXIS -1 // Default is all axes. #endif /*! \def MINIMUM_JUNCTION_SPEED diff --git a/grbl.h b/grbl.h index b480f63..55184d5 100644 --- a/grbl.h +++ b/grbl.h @@ -42,7 +42,7 @@ #else #define GRBL_VERSION "1.1f" #endif -#define GRBL_BUILD 20230128 +#define GRBL_BUILD 20230129 #define GRBL_URL "https://github.com/grblHAL" diff --git a/tool_change.c b/tool_change.c index 6a99fdf..7127f14 100644 --- a/tool_change.c +++ b/tool_change.c @@ -429,7 +429,7 @@ void tc_clear_tlo_reference (axes_signals_t homing_cycle) plane_t plane; -#ifdef TOOL_LENGTH_OFFSET_AXIS +#if TOOL_LENGTH_OFFSET_AXIS >= 0 plane.axis_linear = TOOL_LENGTH_OFFSET_AXIS; #else gc_get_plane_data(&plane, gc_state.modal.plane_select);