Browse Source

Tidying up some old debug

pull/22/head
Gordon Henderson 12 years ago
parent
commit
f9bec274ec
1 changed files with 0 additions and 6 deletions
  1. +0
    -6
      wiringPi/wiringSerial.c

+ 0
- 6
wiringPi/wiringSerial.c View File

@@ -20,8 +20,6 @@
*********************************************************************** ***********************************************************************
*/ */


#undef DEBUG

#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdint.h> #include <stdint.h>
@@ -49,10 +47,6 @@ int serialOpen (char *device, int baud)
speed_t myBaud ; speed_t myBaud ;
int status, fd ; int status, fd ;


#ifdef DEBUG
printf ("openSerialPort: <%s> baud: $d\n", device, baud) ;
#endif

switch (baud) switch (baud)
{ {
case 50: myBaud = B50 ; break ; case 50: myBaud = B50 ; break ;


Loading…
Cancel
Save