chiark / gitweb /
Tidying up some old debug
authorGordon Henderson <gordon@drogon.net>
Sat, 18 Aug 2012 12:53:01 +0000 (13:53 +0100)
committerGordon Henderson <gordon@drogon.net>
Sat, 18 Aug 2012 12:53:01 +0000 (13:53 +0100)
wiringPi/wiringSerial.c

index b401894053307d8a4a9cef13ed4a38716543fcab..28ec598e5645874ce8af79c43ad8345d7d8d2ac9 100644 (file)
@@ -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 ;