Fix for compilation failure for N_AXIS > 3 (typo)

This commit is contained in:
Terje Io
2025-09-25 19:33:13 +02:00
parent 2f9ba98040
commit 65dd33c569
2 changed files with 4 additions and 4 deletions

View File

@@ -2,11 +2,11 @@
<a name="20250922">Build 20250922
* added `G65P6` for disabling spindle on/off delay for the next spindle command (`M3`, `M4` and `M5`)
* Added `G65P6` for disabling spindle on/off delay for the next spindle command (`M3`, `M4` and `M5`)
* for programmers: added `grbl.on_control_signals_changed` event, fired on some signals: optional stop, single step, block delete and cycle start.
* For programmers: added `grbl.on_control_signals_changed` event, fired on some signals: optional stop, single step, block delete and cycle start.
* fix for incorrect handling of arcs when negative scaling is enabled with `G51`.
* Fix for incorrect handling of arcs when negative scaling is enabled with `G51`.
Drivers:

View File

@@ -99,7 +99,7 @@ static on_macro_execute_ptr on_macro_execute;
static float _convert_pos (float value, uint_fast8_t axis)
{
return settings.flags.report_inches && bit_isfalse(settings.steppers.is_rotary.mask, bit(idx)) ? value * 25.4f : value;
return settings.flags.report_inches && bit_isfalse(settings.steppers.is_rotary.mask, bit(axis)) ? value * 25.4f : value;
}
#else