mirror of
https://github.com/bdring/Grbl_Esp32.git
synced 2025-08-29 17:19:50 +02:00
Merge pull request #142 from odaki/compile-on-macos
Fix possible reference to uninitialized variables
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;
|
||||||
@@ -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 9 = {M48, M49} enable/disable feed and speed override switches
|
||||||
group 10 = {G98, G99} return mode canned cycles
|
group 10 = {G98, G99} return mode canned cycles
|
||||||
group 13 = {G61.1, G64} path control mode (G61 is supported)
|
group 13 = {G61.1, G64} path control mode (G61 is supported)
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user