mirror of
https://github.com/bdring/Grbl_Esp32.git
synced 2025-08-31 10:01:48 +02:00
Fix possible reference to uninitialized variables
Fix errors about possible reference to uninitialized variables. It seems necessary to check multiple commands for each modal group violation
This commit is contained in:
@@ -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)
|
||||
*/
|
||||
*/
|
||||
|
Reference in New Issue
Block a user