bump mantissa to uint16_t to enable G38.5
This commit is contained in:
parent
5c07acd9fa
commit
b920838109
2
gcode.c
2
gcode.c
@ -123,7 +123,7 @@ uint8_t gc_execute_line(char *line)
|
|||||||
char letter;
|
char letter;
|
||||||
float value;
|
float value;
|
||||||
uint8_t int_value = 0;
|
uint8_t int_value = 0;
|
||||||
uint8_t mantissa = 0; // NOTE: For mantissa values > 255, variable type must be changed to uint16_t.
|
uint16_t mantissa = 0; // NOTE: For mantissa values > 255, variable type must be changed to uint16_t.
|
||||||
uint8_t probe_mode = 0;
|
uint8_t probe_mode = 0;
|
||||||
|
|
||||||
while (line[char_counter] != 0) { // Loop until no more g-code words in line.
|
while (line[char_counter] != 0) { // Loop until no more g-code words in line.
|
||||||
|
Loading…
Reference in New Issue
Block a user