Updated readme and changelog. Added code guard to suppress compiler warning.

This commit is contained in:
Terje Io
2024-01-31 14:30:22 +01:00
parent 5c629e3ecd
commit 2d6bb02a5b
3 changed files with 19 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ It has been written to complement grblHAL and has features such as proper keyboa
---
Latest build date is 20240123, see the [changelog](changelog.md) for details.
Latest build date is 20240127, 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.
---
@@ -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.
---
20240124
20240127

View File

@@ -1,5 +1,16 @@
## grblHAL changelog
<a name="20240131"/>20240131
Drivers:
* iMXRT1062: fixed regression causing spindle sync builds to fail.
* STM32F4xx: moved board maps and code to separate directory. Fixed minor bug.
* Web Builder supported boards: updated board definition files for Web Builder internal changes.
---
<a name="20240129"/>20240129
Drivers:

View File

@@ -392,7 +392,9 @@ static status_code_t set_ganged_dir_invert (setting_id_t id, uint_fast16_t int_v
static status_code_t set_stepper_deenergize_mask (setting_id_t id, uint_fast16_t int_value);
static status_code_t set_report_interval (setting_id_t setting, uint_fast16_t int_value);
static status_code_t set_estop_unlock (setting_id_t id, uint_fast16_t int_value);
#if COMPATIBILITY_LEVEL <= 1
static status_code_t set_offset_lock (setting_id_t id, uint_fast16_t int_value);
#endif
#ifndef NO_SAFETY_DOOR_SUPPORT
static status_code_t set_parking_enable (setting_id_t id, uint_fast16_t int_value);
static status_code_t set_restore_overrides (setting_id_t id, uint_fast16_t int_value);
@@ -1089,6 +1091,8 @@ static status_code_t set_estop_unlock (setting_id_t id, uint_fast16_t int_value)
return Status_OK;
}
#if COMPATIBILITY_LEVEL <= 1
static status_code_t set_offset_lock (setting_id_t id, uint_fast16_t int_value)
{
settings.parking.flags.offset_lock = int_value & 0b111; // TODO: remove
@@ -1098,6 +1102,8 @@ static status_code_t set_offset_lock (setting_id_t id, uint_fast16_t int_value)
return Status_OK;
}
#endif
static inline void tmp_set_hard_limits (void)
{
sys.hard_limits.mask = settings.limits.flags.hard_enabled ? AXES_BITMASK : 0;