File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
java/libraries/serial/src/processing/serial Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -186,8 +186,6 @@ public boolean getDSR() {
186186
187187
188188 public static Map <String , String > getProperties (String portName ) {
189- //SerialPortList list = new SerialPortList();
190- //return list.getPortProperties(portName);
191189 return SerialPortList .getPortProperties (portName );
192190 }
193191
@@ -214,8 +212,6 @@ public char lastChar() {
214212 public static String [] list () {
215213 // returns list sorted alphabetically, thus cu.* comes before tty.*
216214 // this was different with RXTX
217- //SerialPortList list = new SerialPortList();
218- //return list.getPortNames();
219215 return SerialPortList .getPortNames ();
220216 }
221217
@@ -457,4 +453,4 @@ public void write(String src) {
457453 throw new RuntimeException ("Error writing to serial port " + e .getPortName () + ": " + e .getExceptionType ());
458454 }
459455 }
460- }
456+ }
You can’t perform that action at this time.
0 commit comments