|
|
|
|
@ -20,8 +20,6 @@
|
|
|
|
|
***********************************************************************
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#undef DEBUG
|
|
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
@ -49,10 +47,6 @@ int serialOpen (char *device, int baud)
|
|
|
|
|
speed_t myBaud ;
|
|
|
|
|
int status, fd ;
|
|
|
|
|
|
|
|
|
|
#ifdef DEBUG
|
|
|
|
|
printf ("openSerialPort: <%s> baud: $d\n", device, baud) ;
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
switch (baud)
|
|
|
|
|
{
|
|
|
|
|
case 50: myBaud = B50 ; break ;
|
|
|
|
|
|