mirror of
https://github.com/bdring/Grbl_Esp32.git
synced 2025-09-02 10:53:01 +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
|
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. */
|
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;
|
uint8_t char_counter;
|
||||||
char letter;
|
char letter;
|
||||||
float value;
|
float value;
|
||||||
|
Reference in New Issue
Block a user