We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 826750e commit 0cfad35Copy full SHA for 0cfad35
1 file changed
FluidNC/src/Channel.cpp
@@ -223,17 +223,17 @@ Error Channel::pollLine(char* line) {
223
if (ch < 0) {
224
break;
225
}
226
- _active = true;
227
- if (realtimeOkay(ch) && is_realtime_command(ch)) {
228
- handleRealtimeCharacter((uint8_t)ch);
229
- continue;
230
- }
231
- if (!line) {
232
- _queue.push(ch);
233
234
235
- // Fall through if line is non-null and it is not a realtime character
236
+ _active = true;
+ if (realtimeOkay(ch) && is_realtime_command(ch)) {
+ handleRealtimeCharacter((uint8_t)ch);
+ continue;
+ }
+ if (!line) {
+ _queue.push(ch);
+ // Fall through if line is non-null and it is not a realtime character
237
238
if (lineComplete(line, ch)) {
239
return Error::Ok;
0 commit comments