bracket in #ifdef wrong

variable declaration  on wrong position

svn path=/trunk/externals/iem/comport/; revision=3997
This commit is contained in:
Winfried Ritsch 2005-11-21 12:20:44 +00:00
parent a23340293d
commit 663d95f64d

View file

@ -710,8 +710,8 @@ static void comport_tick(t_comport *x)
break; break;
} }
} }
}
*/ */
}
#else #else
{ {
fd_set com_rfds; fd_set com_rfds;
@ -929,9 +929,10 @@ static void comport_devicename(t_comport *x, t_symbol *s)
static void comport_print(t_comport *x, t_symbol *s, int argc, t_atom *argv) static void comport_print(t_comport *x, t_symbol *s, int argc, t_atom *argv)
{ {
static char buf[256]; static char buf[256];
char *pch = buf;
while(argc--) { while(argc--) {
atom_string(argv++, buf, 255); atom_string(argv++, buf, 255);
char *pch = buf;
while(*pch != 0) { while(*pch != 0) {
write_serial(x, *pch++); write_serial(x, *pch++);
} }