STA모드 추가
This commit is contained in:
@@ -135,7 +135,11 @@ void serialRxTask(void *param) {
|
||||
if (linePos > 0) flushLineToQueues(lineBuf, linePos);
|
||||
continue;
|
||||
}
|
||||
lineBuf[linePos++] = c;
|
||||
// Only accept printable ASCII (0x20~0x7E) and TAB (0x09)
|
||||
// Skip null bytes and noise (0x00, 0xFF, etc.)
|
||||
if ((c >= 0x20 && c <= 0x7E) || c == '\t') {
|
||||
lineBuf[linePos++] = c;
|
||||
}
|
||||
}
|
||||
lastActivity = xTaskGetTickCount();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user