mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-27 21:54:30 +01:00
Also allow tabs as value delimiters
This commit is contained in:
parent
fe96ab9f44
commit
7d78a9c07e
@ -225,7 +225,7 @@ public class SerialPlotter extends AbstractMonitor {
|
|||||||
messageBuffer.delete(0, linebreak + 1);
|
messageBuffer.delete(0, linebreak + 1);
|
||||||
|
|
||||||
line = line.trim();
|
line = line.trim();
|
||||||
String[] parts = line.split("[, ]+");
|
String[] parts = line.split("[, \t]+");
|
||||||
if(parts.length == 0) {
|
if(parts.length == 0) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user