mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-30 16:24:09 +03: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:
@ -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) {
|
||||
|
Reference in New Issue
Block a user