mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-20 14:54:31 +01:00
Serial monitor timestamp: add the arrow ' -> ' to the timestamp format
This saves another "append" call while streaming.
This commit is contained in:
parent
986d67f1d9
commit
d97147826e
@ -47,7 +47,7 @@ public abstract class AbstractTextMonitor extends AbstractMonitor {
|
||||
|
||||
public AbstractTextMonitor(BoardPort boardPort) {
|
||||
super(boardPort);
|
||||
logDateFormat = new SimpleDateFormat("HH:mm:ss.SSS");
|
||||
logDateFormat = new SimpleDateFormat("HH:mm:ss.SSS -> ");
|
||||
}
|
||||
|
||||
protected void onCreateWindow(Container mainPane) {
|
||||
@ -192,7 +192,6 @@ public abstract class AbstractTextMonitor extends AbstractMonitor {
|
||||
while (tokenizer.hasMoreTokens()) {
|
||||
if (isStartingLine) {
|
||||
out.append(now);
|
||||
out.append(" -> ");
|
||||
}
|
||||
String token = tokenizer.nextToken();
|
||||
out.append(token);
|
||||
|
Loading…
x
Reference in New Issue
Block a user