[Ccom-develop] ccom/src comunix.c,1.1,1.2 comx.c,1.4,1.5
Brought to you by:
chrisan,
rasmusmyklebust
From: <ch...@us...> - 2004-02-16 07:28:11
|
Update of /cvsroot/ccomx/ccom/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2171/src Modified Files: comunix.c comx.c Log Message: modifications due to the unix port Index: comunix.c =================================================================== RCS file: /cvsroot/ccomx/ccom/src/comunix.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** comunix.c 8 Feb 2004 20:57:51 -0000 1.1 --- comunix.c 16 Feb 2004 07:20:20 -0000 1.2 *************** *** 65,68 **** --- 65,72 ---- *error = 1; } + if (n) { + char s[100]; + sprintf(s, "number:%2x|OK", n); + Req("",s);} return n; } Index: comx.c =================================================================== RCS file: /cvsroot/ccomx/ccom/src/comx.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** comx.c 8 Feb 2004 20:47:22 -0000 1.4 --- comx.c 16 Feb 2004 07:20:20 -0000 1.5 *************** *** 139,143 **** t_serport *port = data; t_serialq *qel; ! unsigned char error, c; if (port->scanning) { --- 139,143 ---- t_serport *port = data; t_serialq *qel; ! unsigned char error, c=0; if (port->scanning) { |