1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-29 10:24:12 +01:00

Also allow tabs as value delimiters

This commit is contained in:
Henning Pohl 2015-11-02 13:12:11 +01:00
parent fe96ab9f44
commit 7d78a9c07e

View File

@ -225,7 +225,7 @@ public class SerialPlotter extends AbstractMonitor {
messageBuffer.delete(0, linebreak + 1);
line = line.trim();
String[] parts = line.split("[, ]+");
String[] parts = line.split("[, \t]+");
if(parts.length == 0) {
continue;
}