bump mantissa to uint16_t to enable G38.5

This commit is contained in:
Elijah Insua 2014-09-22 14:05:35 -07:00
parent 5c07acd9fa
commit b920838109

View File

@ -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.