modified locked baudrate for running doors

This commit is contained in:
Michiel Broek 2001-10-22 18:55:38 +00:00
parent 453b6c758b
commit aa634eb9b5

View File

@ -2,7 +2,7 @@
* *
* File ..................: bbs/funcs.c * File ..................: bbs/funcs.c
* Purpose ...............: Misc functions * Purpose ...............: Misc functions
* Last modification date : 17-Oct-2001 * Last modification date : 22-Oct-2001
* *
***************************************************************************** *****************************************************************************
* Copyright (C) 1997-2001 * Copyright (C) 1997-2001
@ -338,7 +338,7 @@ void ExtDoor(char *Program, int NoDoorsys, int Y2Kdoorsys, int Comport, int NoSu
} else { } else {
if (Comport) { if (Comport) {
fprintf(fp, "COM1:\r\n"); /* COM port */ fprintf(fp, "COM1:\r\n"); /* COM port */
fprintf(fp, "115200\r\n");/* Effective baudrate */ fprintf(fp, "19200\r\n");/* Effective baudrate */
} else { } else {
fprintf(fp, "COM0:\r\n");/* COM port */ fprintf(fp, "COM0:\r\n");/* COM port */
@ -347,7 +347,7 @@ void ExtDoor(char *Program, int NoDoorsys, int Y2Kdoorsys, int Comport, int NoSu
fprintf(fp, "8\r\n"); /* Databits */ fprintf(fp, "8\r\n"); /* Databits */
fprintf(fp, "%d\r\n", iNode); /* Node number */ fprintf(fp, "%d\r\n", iNode); /* Node number */
if (Comport) if (Comport)
fprintf(fp, "115200\r\n");/* Locked baudrate */ fprintf(fp, "19200\r\n");/* Locked baudrate */
else else
fprintf(fp, "%ld\r\n", ttyinfo.portspeed); /* Locked baudrate */ fprintf(fp, "%ld\r\n", ttyinfo.portspeed); /* Locked baudrate */
fprintf(fp, "Y\r\n"); /* Screen display */ fprintf(fp, "Y\r\n"); /* Screen display */