[PD-cvs] externals/iem/comport/comport comport.c,1.20,1.21

Hans-Christoph Steiner eighthave at users.sourceforge.net
Tue Sep 12 00:36:52 CEST 2006


Update of /cvsroot/pure-data/externals/iem/comport/comport
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8123

Modified Files:
	comport.c 
Log Message:
default baud rate was being set to 14400 while the message was saying 9600.  It is now set to 9600 properly

Index: comport.c
===================================================================
RCS file: /cvsroot/pure-data/externals/iem/comport/comport/comport.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** comport.c	26 Aug 2006 20:30:32 -0000	1.20
--- comport.c	11 Sep 2006 22:36:50 -0000	1.21
***************
*** 247,251 ****
      {
          post("*Warning* The baud rate %d is not supported or out of range, using 9600\n",*baud);
!         i = 7;
      }
      *baud =  baudratetable[i];
--- 247,251 ----
      {
          post("*Warning* The baud rate %d is not supported or out of range, using 9600\n",*baud);
!         i = 8;
      }
      *baud =  baudratetable[i];
***************
*** 982,985 ****
--- 982,986 ----
  
  /*	 Open the Comport for RD and WR and get a handle */
+ /* this line should use a real serial device */
      strncpy(test.serial_device_name, serial_device_name, strlen(serial_device_name)+1);
      test.baud = fbaud;





More information about the Pd-cvs mailing list