mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-19 13:54:23 +01:00
Removing attempt to flush the incoming serial data when opening the port, since it didn't seem to work.
This commit is contained in:
parent
4b80afbca1
commit
e88592771e
@ -125,7 +125,6 @@ public class SerialMonitor extends JFrame implements MessageConsumer {
|
||||
try {
|
||||
statusLabel.setText("opening...");
|
||||
serial = new Serial(port, serialRate);
|
||||
while (serial.available() > 0) serial.read();
|
||||
serial.addListener(this);
|
||||
statusLabel.setText("");
|
||||
} catch (SerialException e) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user