[Tinyos-commits] CVS: tinyos-1.x/tools/java/net/tinyos/packet
SerialByteSource.java, 1.5, 1.6
David Gay
idgay at users.sourceforge.net
Fri Jun 16 11:28:56 PDT 2006
Update of /cvsroot/tinyos/tinyos-1.x/tools/java/net/tinyos/packet
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv4233
Modified Files:
SerialByteSource.java
Log Message:
don't die if no tinyos-serial-configure and tos-serial-configure
Index: SerialByteSource.java
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/tools/java/net/tinyos/packet/SerialByteSource.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** SerialByteSource.java 13 Jun 2006 16:22:48 -0000 1.5
--- SerialByteSource.java 16 Jun 2006 18:28:54 -0000 1.6
***************
*** 92,96 ****
catch (IOException e) {
// If it fails, try the 2.x version
! Runtime.getRuntime().exec("tos-serial-configure " + portName);
}
--- 92,99 ----
catch (IOException e) {
// If it fails, try the 2.x version
! try {
! Runtime.getRuntime().exec("tos-serial-configure " + portName);
! }
! catch (IOException e2) { }
}
More information about the Tinyos-commits
mailing list