|
@@ -108,7 +108,7 @@ public:
|
108
|
108
|
static void set(const char c, char * const ptr) {
|
109
|
109
|
const uint8_t ind = LETTER_BIT(c);
|
110
|
110
|
if (ind >= COUNT(param)) return; // Only A-Z
|
111
|
|
- SBI(codebits, ind); // parameter exists
|
|
111
|
+ SBI32(codebits, ind); // parameter exists
|
112
|
112
|
param[ind] = ptr ? ptr - command_ptr : 0; // parameter offset or 0
|
113
|
113
|
#if ENABLED(DEBUG_GCODE_PARSER)
|
114
|
114
|
if (codenum == 800) {
|
|
@@ -125,7 +125,7 @@ public:
|
125
|
125
|
static bool seen(const char c) {
|
126
|
126
|
const uint8_t ind = LETTER_BIT(c);
|
127
|
127
|
if (ind >= COUNT(param)) return false; // Only A-Z
|
128
|
|
- const bool b = TEST(codebits, ind);
|
|
128
|
+ const bool b = TEST32(codebits, ind);
|
129
|
129
|
if (b) {
|
130
|
130
|
char * const ptr = command_ptr + param[ind];
|
131
|
131
|
value_ptr = param[ind] && valid_float(ptr) ? ptr : (char*)NULL;
|
|
@@ -135,7 +135,7 @@ public:
|
135
|
135
|
|
136
|
136
|
static bool seen_any() { return !!codebits; }
|
137
|
137
|
|
138
|
|
- #define SEEN_TEST(L) TEST(codebits, LETTER_BIT(L))
|
|
138
|
+ #define SEEN_TEST(L) TEST32(codebits, LETTER_BIT(L))
|
139
|
139
|
|
140
|
140
|
#else // !FASTER_GCODE_PARSER
|
141
|
141
|
|