fwrite(string, 1, (p - 1) - string, stdout);
putchar((char)c);
fflush(stdout);
fwrite(string, 1, (p - 1) - string, stdout);
putchar((char)c);
fflush(stdout);
- SERIAL_SET_TTY_STATE(monitor_desc, temptempio);
- debuglogs (4, "Set serial port to 2 stop bits");
+ SERIAL_SET_TTY_STATE(monitor_desc, temptempio);
+ debuglogs (4, "Set serial port to 2 stop bits");
+ }
*p++ = num[7];
*p++ = ':'; /* add the colon delimeter */
for (j = 0; j < len; j++) { /* copy the data in after converting it */
*p++ = num[7];
*p++ = ':'; /* add the colon delimeter */
for (j = 0; j < len; j++) { /* copy the data in after converting it */
if (GETACK) /* ACKnowledged, get next data chunk */
break;
} else { /* assume we got an ACK */
if (GETACK) /* ACKnowledged, get next data chunk */
break;
} else { /* assume we got an ACK */
} else { /* no protocols at all */
printf_monitor ("%s\n", srec);
}
} else { /* no protocols at all */
printf_monitor ("%s\n", srec);
}