From 13f658ef1b90f8ca180015c372d88588ba20c2af Mon Sep 17 00:00:00 2001 From: Luc Date: Sun, 1 Sep 2019 17:35:14 +0200 Subject: [PATCH] Fix typo --- Grbl_Esp32/gcode.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Grbl_Esp32/gcode.cpp b/Grbl_Esp32/gcode.cpp index 0c4f5024..8f7f2450 100644 --- a/Grbl_Esp32/gcode.cpp +++ b/Grbl_Esp32/gcode.cpp @@ -386,14 +386,14 @@ uint8_t gc_execute_line(char *line, uint8_t client) axis_words |= (1< B_AXIS) +#if defined(N_AXIS) && defined(B_AXIS) && (N_AXIS > B_AXIS) case 'B': word_bit = WORD_B; gc_block.values.xyz[B_AXIS] = value; axis_words |= (1< C_AXIS) +#if defined(N_AXIS) && defined(C_AXIS) && (N_AXIS > C_AXIS) case 'C': word_bit = WORD_C; gc_block.values.xyz[C_AXIS] = value;