1
0
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:
David A. Mellis 2009-06-13 21:28:46 +00:00
parent 4b80afbca1
commit e88592771e

View File

@ -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) {