diff --git a/Grbl_Esp32/gcode.cpp b/Grbl_Esp32/gcode.cpp index 17dabb29..fbcde282 100644 --- a/Grbl_Esp32/gcode.cpp +++ b/Grbl_Esp32/gcode.cpp @@ -108,7 +108,7 @@ uint8_t gc_execute_line(char *line, uint8_t client) perform initial error-checks for command word modal group violations, for any repeated words, and for negative values set for the value words F, N, P, T, and S. */ - uint8_t word_bit; // Bit-value for assigning tracking variables + uint8_t word_bit = 0; // Bit-value for assigning tracking variables uint8_t char_counter; char letter; float value; @@ -1402,4 +1402,4 @@ uint8_t gc_execute_line(char *line, uint8_t client) group 9 = {M48, M49} enable/disable feed and speed override switches group 10 = {G98, G99} return mode canned cycles group 13 = {G61.1, G64} path control mode (G61 is supported) -*/ \ No newline at end of file +*/