Fix for regression causing MPG mode switch malfunction. Ref. issue #846.

This commit is contained in:
Terje Io
2025-11-08 20:27:11 +01:00
parent 6efbed8fa2
commit 18d6272060
4 changed files with 13 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
## grblHAL ##
Latest build date is 20251108, see the [changelog](changelog.md) for details.
Latest build date is 20251109, see the [changelog](changelog.md) for details.
> [!NOTE]
> A settings reset will be performed on an update of builds prior to 20241208. Backup and restore of settings is recommended.
@@ -89,4 +89,4 @@ G/M-codes not supported by [legacy Grbl](https://github.com/gnea/grbl/wiki) are
Some [plugins](https://github.com/grblHAL/plugins) implements additional M-codes.
---
20250928
20251109

View File

@@ -1,5 +1,13 @@
## grblHAL changelog
<a name="20251109">Build 20251109
Core:
* Fix for regression causing MPG mode switch malfunction. Ref. issue [#846](https://github.com/grblHAL/core/issues/846).
---
<a name="20251108">Build 20251108
Core:

2
grbl.h
View File

@@ -42,7 +42,7 @@
#else
#define GRBL_VERSION "1.1f"
#endif
#define GRBL_BUILD 20251108
#define GRBL_BUILD 20251109
#define GRBL_URL "https://github.com/grblHAL"

View File

@@ -155,7 +155,7 @@ static aux_ctrl_t aux_ctrl[] = {
add_aux_input(Input_I2CStrobe, I2C_STROBE, IRQ_Mode_Change, 0)
#endif
#if MPG_ENABLE == 1 && defined(MPG_MODE_PIN)
add_aux_input(Input_MPGSelect, MPG_MODE, IRQ_Mode_RisingFalling, 0)
add_aux_input(Input_MPGSelect, MPG_MODE, IRQ_Mode_Change, 0)
#endif
#if QEI_SELECT_ENABLE && defined(QEI_SELECT_PIN)
add_aux_input(Input_QEI_Select, QEI_SELECT, IRQ_Mode_RisingFalling, 0)
@@ -182,7 +182,7 @@ static aux_ctrl_t aux_ctrl[] = {
add_aux_input_scan(Input_ToolsetterOvertravel, IRQ_Mode_Change, SIGNALS_TLS_OVERTRAVEL_BIT)
#endif
#if LIMITS_OVERRIDE_ENABLE
add_aux_input_scan(Input_LimitsOverride, IRQ_Mode_Change, SIGNALS_LIMITS_OVERRIDE_BIT)
add_aux_input_scan(Input_LimitsOverride, IRQ_Mode_None, SIGNALS_LIMITS_OVERRIDE_BIT)
#endif
#if STOP_DISABLE_ENABLE
add_aux_input_scan(Input_StopDisable, IRQ_Mode_Change, SIGNALS_STOPDISABLE_BIT)