Skip to content

Commit

Permalink
Fix for homing setting regression. Ref. issue #512
Browse files Browse the repository at this point in the history
  • Loading branch information
terjeio committed May 13, 2024
1 parent 951d5e5 commit 1de8d7b
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ It has been written to complement grblHAL and has features such as proper keyboa

---

Latest build date is 20240506, see the [changelog](changelog.md) for details.
Latest build date is 20240513, see the [changelog](changelog.md) for details.

__NOTE:__ Build 20240222 has moved the probe input to the ioPorts pool of inputs and will be allocated from it when configured.
The change is major and _potentially dangerous_, it may damage your probe, so please _verify correct operation_ after installing this, or later, builds.
Expand Down
16 changes: 16 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
## grblHAL changelog

<a name="20240513"/>Build 20240513

Core:

* Fix for homing setting regression. Ref. [issue #512](https://github.com/grblHAL/core/issues/512).

Drivers:

* STM32F1xx, STM32F3xx, STM32F4xx: made UART code fully core compliant.

Plugins:

* Networking: fixed ping response when no payload present. Ref. [issue #10](https://github.com/grblHAL/Plugin_networking/issues/10).

---

<a name="20240508"/>Build 20240508

Core:
Expand Down
2 changes: 1 addition & 1 deletion grbl.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
#else
#define GRBL_VERSION "1.1f"
#endif
#define GRBL_BUILD 20240508
#define GRBL_BUILD 20240513

#define GRBL_URL "https://github.com/grblHAL"

Expand Down
2 changes: 1 addition & 1 deletion settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -1178,7 +1178,7 @@ static status_code_t set_homing_enable (setting_id_t id, uint_fast16_t int_value
settings.homing.flags.use_limit_switches = DEFAULT_HOMING_USE_LIMIT_SWITCHES;
settings.limits.flags.two_switches = DEFAULT_LIMITS_TWO_SWITCHES_ON_AXES;
#else
settings.homing.flags.value = int_value & 0b111;
settings.homing.flags.value = int_value & 0b1111;
settings.limits.flags.two_switches = homing.two_switches;
settings.homing.flags.manual = homing.manual;
settings.homing.flags.override_locks = homing.override_locks;
Expand Down

0 comments on commit 1de8d7b

Please sign in to comment.